Commit 5ac9476b authored by Thiago Santos's avatar Thiago Santos
Browse files

videodecoder: do not parse caps for not using it

Saving some cpu
parent 0fd60ac8
......@@ -1014,9 +1014,6 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
}
case GST_EVENT_CAPS:
{
GstCaps *caps;
gst_event_parse_caps (event, &caps);
ret = TRUE;
decoder->priv->do_caps = TRUE;
gst_event_unref (event);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment