[transcode] Improve decoding to allow for decoder special cases, like decoders not processing

entire packets, rejecting packets and not returning frames. Should fix issue with network
streams not opening.
This commit is contained in:
ejurgensen
2015-10-21 23:53:21 +02:00
parent 9853b8f9bd
commit 058b2fb0d6
3 changed files with 166 additions and 80 deletions

View File

@@ -96,8 +96,6 @@ AC_CHECK_LIB([avfilter], [av_buffersink_get_frame],
AC_DEFINE(HAVE_LIBAV_BUFFERSINK_GET_FRAME, 1, [Define to 1 if you have ffmpeg/libav with av_buffersink_get_frame]))
AC_CHECK_LIB([avfilter], [avfilter_graph_parse_ptr],
AC_DEFINE(HAVE_LIBAV_GRAPH_PARSE_PTR, 1, [Define to 1 if you have ffmpeg/libav with avfilter_graph_parse_ptr]))
AC_CHECK_LIB([avcodec], [av_copy_packet],
AC_DEFINE(HAVE_LIBAV_COPY_PACKET, 1, [Define to 1 if you have ffmpeg/libav with av_copy_packet]))
AC_CHECK_LIB([avcodec], [av_packet_rescale_ts],
AC_DEFINE(HAVE_LIBAV_PACKET_RESCALE_TS, 1, [Define to 1 if you have ffmpeg/libav with av_packet_rescale_ts]))
AC_CHECK_LIB([avformat], [avformat_alloc_output_context2],