mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
gst: remove some defunct commented code
This commit is contained in:
parent
faa04cd0bb
commit
7fa322d437
2 changed files with 0 additions and 4 deletions
|
@ -47,8 +47,6 @@ G_BEGIN_DECLS
|
||||||
#define gst_pad_get_caps_reffed(p) gst_pad_get_caps(p)
|
#define gst_pad_get_caps_reffed(p) gst_pad_get_caps(p)
|
||||||
#define gst_pad_peer_get_caps_reffed(p) gst_pad_peer_get_caps(p)
|
#define gst_pad_peer_get_caps_reffed(p) gst_pad_peer_get_caps(p)
|
||||||
|
|
||||||
//#define gst_buffer_create_sub(b,o,s) gst_buffer_copy_region(b,GST_BUFFER_COPY_ALL,o,s)
|
|
||||||
|
|
||||||
#define gst_buffer_new_and_alloc(s) gst_buffer_new_allocate(NULL, s, NULL)
|
#define gst_buffer_new_and_alloc(s) gst_buffer_new_allocate(NULL, s, NULL)
|
||||||
|
|
||||||
#define GST_BUFFER_TIMESTAMP GST_BUFFER_PTS
|
#define GST_BUFFER_TIMESTAMP GST_BUFFER_PTS
|
||||||
|
|
|
@ -1180,8 +1180,6 @@ gst_object_add_control_binding (GstObject * object, GstControlBinding * binding)
|
||||||
|
|
||||||
g_return_val_if_fail (GST_IS_OBJECT (object), FALSE);
|
g_return_val_if_fail (GST_IS_OBJECT (object), FALSE);
|
||||||
g_return_val_if_fail (GST_IS_CONTROL_BINDING (binding), FALSE);
|
g_return_val_if_fail (GST_IS_CONTROL_BINDING (binding), FALSE);
|
||||||
//g_return_val_if_fail (g_type_is_a (binding->pspec->owner_type,
|
|
||||||
// G_OBJECT_TYPE (object)), FALSE);
|
|
||||||
|
|
||||||
GST_OBJECT_LOCK (object);
|
GST_OBJECT_LOCK (object);
|
||||||
if ((old = gst_object_find_control_binding (object, binding->name))) {
|
if ((old = gst_object_find_control_binding (object, binding->name))) {
|
||||||
|
|
Loading…
Reference in a new issue