avviddec: Don't lose frames on EOS
authorAleix Conchillo Flaqué <aleix@oblong.com>
Mon, 11 Aug 2014 12:16:55 +0000 (14:16 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 12 Aug 2014 07:51:39 +0000 (10:51 +0300)
commit53b46823204d1768d59df73b99c4f00676179c95
tree301a2e2bdd84af25360082a21578cd02f216b661
parentdef3aec99ae1fa5b1311c6fc7ebf8e15351adc04
avviddec: Don't lose frames on EOS

have_data is not propagated from gst_ffmpegviddec_video_frame to
gst_ffmpegviddec_frame. have_data is only set to 1 in
gst_ffmpegviddec_frame if a frame pointer is passed. However, this is
not true while draining, which means that have_data from libav will be
ignored.

https://bugzilla.gnome.org/show_bug.cgi?id=734608
ext/libav/gstavviddec.c