summaryrefslogtreecommitdiff
path: root/ext/theora/gsttheoradec.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2012-06-14 23:24:06 +1000
committerJan Schmidt <thaytan@noraisin.net>2012-06-17 12:42:08 +1000
commit30c9bb709b16c712188cbdbac0e58fa3877eee7d (patch)
tree063e467790455a9aac3edd463258666c8baf03fb /ext/theora/gsttheoradec.c
parentf3fdfd9ec88810f0b5e3c250d02964ee7a7da991 (diff)
theoradec: Remove use of NEED_DATA
Remove the confusing internal-only use of the GST_VIDEO_DECODER_FLOW_NEED_DATA return code.
Diffstat (limited to 'ext/theora/gsttheoradec.c')
-rw-r--r--ext/theora/gsttheoradec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/theora/gsttheoradec.c b/ext/theora/gsttheoradec.c
index 4ea7803eb..1895bdf01 100644
--- a/ext/theora/gsttheoradec.c
+++ b/ext/theora/gsttheoradec.c
@@ -733,7 +733,7 @@ not_initialized:
dropping:
{
GST_WARNING_OBJECT (dec, "dropping frame because we need a keyframe");
- return GST_VIDEO_DECODER_FLOW_NEED_DATA;
+ return GST_CUSTOM_FLOW_DROP;
}
dropping_qos:
{
@@ -819,7 +819,6 @@ theora_dec_handle_frame (GstVideoDecoder * bdec, GstVideoCodecFrame * frame)
res = gst_video_decoder_finish_frame (bdec, frame);
break;
case GST_CUSTOM_FLOW_DROP:
- case GST_VIDEO_DECODER_FLOW_NEED_DATA:
res = gst_video_decoder_drop_frame (bdec, frame);
break;
default: