diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-10-17 12:48:11 -0700 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-10-20 10:12:32 +0300 |
commit | 78c22c3cbd492ab124f2c8fcad85a51928c093cf (patch) | |
tree | 8cc96fed98900f9f7b927dc5921ac7c2307f9a82 | |
parent | 9fb73a18e2565c5b7310260a697156293b6760a2 (diff) | |
download | gstreamer-plugins-bad-78c22c3cbd492ab124f2c8fcad85a51928c093cf.tar.gz |
pnmdec: drop frame in case of _handle() failure
Allows baseclass to handle it from there
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
-rw-r--r-- | gst/pnm/gstpnmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/pnm/gstpnmdec.c b/gst/pnm/gstpnmdec.c index 2f7e774fe..8bcb09406 100644 --- a/gst/pnm/gstpnmdec.c +++ b/gst/pnm/gstpnmdec.c @@ -228,6 +228,7 @@ gst_pnmdec_handle_frame (GstVideoDecoder * decoder, GstVideoCodecFrame * frame) r = gst_video_decoder_allocate_output_frame (decoder, frame); if (r != GST_FLOW_OK) { + gst_video_decoder_drop_frame (GST_VIDEO_DECODER (s), frame); goto out; } |