mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpeg2dec: Fix GstVideoInfo pointer
This commit is contained in:
parent
870fe4e7ec
commit
5bc6b54185
1 changed files with 2 additions and 2 deletions
|
@ -813,8 +813,8 @@ handle_picture (GstMpeg2dec * mpeg2dec, const mpeg2_info_t * info,
|
|||
GST_DEBUG_OBJECT (mpeg2dec, "picture %s, frame %i",
|
||||
key_frame ? ", kf," : " ", frame->system_frame_number);
|
||||
|
||||
if (GST_VIDEO_INFO_IS_INTERLACED (&frame->info)) {
|
||||
// This implies SEQ_FLAG_PROGRESSIVE_SEQUENCE is not set
|
||||
if (GST_VIDEO_INFO_IS_INTERLACED (&mpeg2dec->decoded_info)) {
|
||||
/* This implies SEQ_FLAG_PROGRESSIVE_SEQUENCE is not set */
|
||||
if (picture->flags & PIC_FLAG_TOP_FIELD_FIRST) {
|
||||
GST_BUFFER_FLAG_SET (buffer, GST_VIDEO_BUFFER_FLAG_TFF);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue