Fix pts reordering code.
This fixes a regression introduced when libavfilter support was added to ffplay. Originally committed as revision 23343 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ab8f600902
commit
867ab7fb0a
1
ffplay.c
1
ffplay.c
@ -1600,6 +1600,7 @@ static int input_get_buffer(AVCodecContext *codec, AVFrame *pic)
|
|||||||
pic->opaque = ref;
|
pic->opaque = ref;
|
||||||
pic->age = INT_MAX;
|
pic->age = INT_MAX;
|
||||||
pic->type = FF_BUFFER_TYPE_USER;
|
pic->type = FF_BUFFER_TYPE_USER;
|
||||||
|
pic->reordered_opaque = codec->reordered_opaque;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user