mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00:00
Provide a simpler way for the user to reorder her timestamps.
Originally committed as revision 14871 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
28f27e0c0c
commit
79de84f263
2 changed files with 21 additions and 2 deletions
|
@ -285,6 +285,8 @@ int avcodec_default_get_buffer(AVCodecContext *s, AVFrame *pic){
|
|||
}
|
||||
s->internal_buffer_count++;
|
||||
|
||||
pic->reordered_opaque= s->reordered_opaque;
|
||||
|
||||
if(s->debug&FF_DEBUG_BUFFERS)
|
||||
av_log(s, AV_LOG_DEBUG, "default_get_buffer called on pic %p, %d buffers used\n", pic, s->internal_buffer_count);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue