Commit 0d449400 authored by Wim Taymans's avatar Wim Taymans
Browse files

theoradec: use _check_reconfigure method

parent f542a3e5
......@@ -1111,14 +1111,8 @@ theora_handle_image (GstTheoraDec * dec, th_ycbcr_buffer buf, GstBuffer ** out)
guint8 *dest, *src;
gsize size;
guint8 *data;
gboolean reconfigure;
GST_OBJECT_LOCK (dec->srcpad);
reconfigure = GST_PAD_NEEDS_RECONFIGURE (dec->srcpad);
GST_OBJECT_UNLOCK (dec->srcpad);
if (reconfigure) {
if (gst_pad_check_reconfigure (dec->srcpad)) {
GstCaps *caps;
caps = gst_pad_get_current_caps (dec->srcpad);
Supports Markdown
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