Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gui][HeadlessRecorder]Remove avcodec dependency in HeadlessRecorder.h #752

Conversation

tgaugry
Copy link
Contributor

@tgaugry tgaugry commented Aug 10, 2018

Forward declare a class, so that avcodecs headers are only required when compiling the cpp.
That way, this header can be included even if FFmpeg headers are not in context (which lead to compilation failure).

--> Can this change be also backported to 18.06 branch ?


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

@tgaugry tgaugry added enhancement About a possible enhancement pr: status to review To notify reviewers to review this pull-request pr: backport done This PR has been backported into the release before its milestone. labels Aug 10, 2018
@tgaugry tgaugry self-assigned this Aug 10, 2018
@guparan
Copy link
Contributor

guparan commented Aug 20, 2018

Ok for backport 👍

@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Aug 20, 2018
@hugtalbot hugtalbot merged commit 26b2643 into sofa-framework:master Aug 21, 2018
@guparan guparan added this to the v18.06 milestone Oct 4, 2018
guparan pushed a commit to guparan/sofa that referenced this pull request Oct 4, 2018
…endencies-from-headers

[Gui][HeadlessRecorder]Remove avcodec dependency in HeadlessRecorder.h
@tgaugry tgaugry deleted the remove-avcodec-dependencies-from-headers branch February 22, 2019 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement About a possible enhancement pr: backport done This PR has been backported into the release before its milestone. pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants