fix for caps api change

This commit is contained in:
Wim Taymans 2012-03-12 11:47:35 +01:00
parent 80dca40c35
commit eb03b4de55
2 changed files with 3 additions and 3 deletions

View file

@ -141,7 +141,7 @@ gst_alpha_color_transform_caps (GstBaseTransform * btrans,
gst_caps_unref (tmpl_caps); gst_caps_unref (tmpl_caps);
gst_caps_unref (local_caps); gst_caps_unref (local_caps);
result = gst_caps_do_simplify (result); result = gst_caps_simplify (result);
GST_LOG_OBJECT (btrans, "transformed %" GST_PTR_FORMAT " to %" GST_PTR_FORMAT, GST_LOG_OBJECT (btrans, "transformed %" GST_PTR_FORMAT " to %" GST_PTR_FORMAT,
caps, result); caps, result);

View file

@ -5074,7 +5074,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL); gst_structure_set (structure, "interlaced", G_TYPE_BOOLEAN, TRUE, NULL);
} }
caps = gst_caps_do_simplify (caps); caps = gst_caps_simplify (caps);
} }
return caps; return caps;
@ -5443,7 +5443,7 @@ gst_matroska_demux_audio_caps (GstMatroskaTrackAudioContext *
} }
} }
caps = gst_caps_do_simplify (caps); caps = gst_caps_simplify (caps);
} }
return caps; return caps;