aacparse, amrparse: remove bogus gst_pad_fixate_caps() calls
This commit is contained in:
parent
44cee1789c
commit
52904d7175
@ -237,7 +237,6 @@ gst_aacparse_set_src_caps (GstAacParse * aacparse)
|
|||||||
|
|
||||||
gst_pad_use_fixed_caps (GST_BASE_PARSE (aacparse)->srcpad);
|
gst_pad_use_fixed_caps (GST_BASE_PARSE (aacparse)->srcpad);
|
||||||
res = gst_pad_set_caps (GST_BASE_PARSE (aacparse)->srcpad, src_caps);
|
res = gst_pad_set_caps (GST_BASE_PARSE (aacparse)->srcpad, src_caps);
|
||||||
gst_pad_fixate_caps (GST_BASE_PARSE (aacparse)->srcpad, src_caps);
|
|
||||||
gst_caps_unref (src_caps);
|
gst_caps_unref (src_caps);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
@ -210,7 +210,6 @@ gst_amrparse_set_src_caps (GstAmrParse * amrparse)
|
|||||||
}
|
}
|
||||||
gst_pad_use_fixed_caps (GST_BASE_PARSE (amrparse)->srcpad);
|
gst_pad_use_fixed_caps (GST_BASE_PARSE (amrparse)->srcpad);
|
||||||
res = gst_pad_set_caps (GST_BASE_PARSE (amrparse)->srcpad, src_caps);
|
res = gst_pad_set_caps (GST_BASE_PARSE (amrparse)->srcpad, src_caps);
|
||||||
gst_pad_fixate_caps (GST_BASE_PARSE (amrparse)->srcpad, src_caps);
|
|
||||||
gst_caps_unref (src_caps);
|
gst_caps_unref (src_caps);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user