mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
Add drain() vfunc implementation that does the same as finish()
finish() is called at EOS, drain() is called at all other times when the decoder should be drained out. gst-libav decoder behaviour is the same in both cases, so use the same implementation See https://bugzilla.gnome.org/show_bug.cgi?id=734617
This commit is contained in:
parent
5758e82eaf
commit
904b53ab0d
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@ gst_ffmpegviddec_class_init (GstFFMpegVidDecClass * klass)
|
|||
viddec_class->stop = gst_ffmpegviddec_stop;
|
||||
viddec_class->flush = gst_ffmpegviddec_flush;
|
||||
viddec_class->finish = gst_ffmpegviddec_finish;
|
||||
viddec_class->drain = gst_ffmpegviddec_finish; /* drain and finish are the same to us */
|
||||
viddec_class->decide_allocation = gst_ffmpegviddec_decide_allocation;
|
||||
viddec_class->propose_allocation = gst_ffmpegviddec_propose_allocation;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue