mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
build with ffmpeg version > 59.0.100
This commit is contained in:
@@ -1829,7 +1829,9 @@ int32_t container_ffmpeg_init_av_context(Context_t *context, char *filename, uin
|
||||
}
|
||||
if (avContextTab[AVIdx] != NULL)
|
||||
{
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(59,0,100)
|
||||
avContextTab[AVIdx]->iformat->flags |= AVFMT_SEEK_TO_PTS;
|
||||
#endif
|
||||
avContextTab[AVIdx]->flags = AVFMT_FLAG_GENPTS;
|
||||
}
|
||||
printf("minimal Probe: %d\n", context->playback->noprobe);
|
||||
|
@@ -2,6 +2,7 @@
|
||||
// mpeg4-part2 in mipsel receivers
|
||||
// http://forums.openpli.org/topic/39326-gstreamer10-and-mpeg4-part2/?hl=%2Bmpeg4+%2Bpart2
|
||||
//
|
||||
#include <libavcodec/bsf.h>
|
||||
|
||||
// mpeg4_unpack_bframes
|
||||
typedef struct
|
||||
|
@@ -3,6 +3,8 @@
|
||||
* allows to compile and use exteplayer3
|
||||
* with old ffmpeg libs
|
||||
*/
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
||||
static void wrapped_frame_free(void *param)
|
||||
{
|
||||
#if (LIBAVCODEC_VERSION_MAJOR >= 55)
|
||||
|
Reference in New Issue
Block a user