Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Build fixes and logging of encoded frames #171

Closed
wants to merge 3 commits into from

Conversation

uniemimu
Copy link
Contributor

Ref:

#149 (although fix is limited to gstreamer-1.0 just like cmake is)
#148
#146

eero-t and others added 3 commits April 17, 2019 12:01
Fix linking to libmfx to be for the shared library.
Fix meson build.

Signed-off-by: Eero Tamminen <[email protected]>
Signed-off-by: Ukri Niemimuukko <[email protected]>
Add log output from frame encoding.

Signed-off-by: Ukri Niemimuukko <[email protected]>
This adds gstreamer-1.0 as the install directory.

Signed-off-by: Ukri Niemimuukko <[email protected]>
@ishmael1985
Copy link
Contributor

@SiewHoon perhaps if this passes the tests this could be merged?

@SiewHoon SiewHoon requested a review from feiwan1 April 25, 2019 01:28
Copy link
Contributor

@SiewHoon SiewHoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This "cmake, meson: build fixes" can not be accepted. The code fixed in meson.build that removed mfx_home, it will break build currently support in closed source MSDK library.

But about the shared libary fixed, we can accept it. Need you go rework the code fixed.

Copy link
Contributor

@SiewHoon SiewHoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will accept this "meson.build: set install_dir" patch fixed.

@SiewHoon
Copy link
Contributor

I will rejected this pull request.
I will merge in "meson.build: set install_dir" patch.

@SiewHoon SiewHoon closed this Apr 29, 2019
@eero-t
Copy link

eero-t commented May 8, 2019

This "cmake, meson: build fixes" can not be accepted. The code fixed in meson.build that removed mfx_home, it will break build currently support in closed source MSDK library.

So basically you're saying that closed source MSDK is broken (doesn't support e.g. CI builds where each new build is done to a separate directory).

Why you prefer your build succeeding against that in open source Gstreamer plugin, instead of against the open source MSDK?

Could you add a link to a bug for the closed source MSDK, so that it can be tracked when they fix this? (It should be easy to fix, as they can take pkg-config support from the open source MSDK.)

@SiewHoon
Copy link
Contributor

I didn't against Gstreamer plugin or MSDK library. I can't straight accept this solution and go broken the existing software support already shipped out. That patch didn't come out with a proper right solution.

Now I already fixed it. I will merge it after done code review.

Here is the code fixed and verify it:
0001-meson-build-fixed-find-mfx-dependecy-with-and-withou.patch.txt

@eero-t
Copy link

eero-t commented May 10, 2019

Yes, fallback to MFX_HOME in case MSDK isn't otherwise found is better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants