Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 556698 Details for
Bug 672248
sci-libs/opencascade-7.3.0 - fails to build with ffmpeg-4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix for new version ffmpeg and their macros names
patch-src_Image_Image__VideoRecorder.txt (text/plain), 1.29 KB, created by
Boris Vingradov
on 2018-11-29 18:57:42 UTC
(
hide
)
Description:
Fix for new version ffmpeg and their macros names
Filename:
MIME Type:
Creator:
Boris Vingradov
Created:
2018-11-29 18:57:42 UTC
Size:
1.29 KB
patch
obsolete
>src/Image/Image_VideoRecorder.cxx:279:25: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER' > aCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER; > ^ >src/Image/Image_VideoRecorder.cxx:452:38: error: use of undeclared identifier 'AVFMT_RAWPICTURE' > if ((myAVContext->oformat->flags & AVFMT_RAWPICTURE) != 0 > ^ > >--- src/Image/Image_VideoRecorder.cxx.orig 2017-08-30 13:28:21 UTC >+++ src/Image/Image_VideoRecorder.cxx >@@ -276,7 +276,7 @@ Standard_Boolean Image_VideoRecorder::addVideoStream ( > // some formats want stream headers to be separate > if (myAVContext->oformat->flags & AVFMT_GLOBALHEADER) > { >- aCodecCtx->flags |= CODEC_FLAG_GLOBAL_HEADER; >+ aCodecCtx->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; > } > return Standard_True; > #else >@@ -449,6 +449,7 @@ Standard_Boolean Image_VideoRecorder::writeVideoFrame > AVPacket aPacket; > memset (&aPacket, 0, sizeof(aPacket)); > av_init_packet (&aPacket); >+#ifdef AVFMT_RAWPICTURE > if ((myAVContext->oformat->flags & AVFMT_RAWPICTURE) != 0 > && !theToFlush) > { >@@ -461,6 +462,7 @@ Standard_Boolean Image_VideoRecorder::writeVideoFrame > aResAv = av_interleaved_write_frame (myAVContext, &aPacket); > } > else >+#endif > { > // encode the image > myFrame->pts = myFrameCount;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 672248
: 556698