mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
uvch264: Remove custom renegotiate event
This commit is contained in:
parent
8ea2085484
commit
06ae51a3fe
1 changed files with 0 additions and 11 deletions
|
@ -1699,17 +1699,6 @@ gst_uvc_h264_src_parse_event (GstUvcH264Src * self, GstPad * pad,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (s && gst_structure_has_name (s, "renegotiate")) {
|
|
||||||
GST_DEBUG_OBJECT (self, "Received renegotiate on %s",
|
|
||||||
GST_PAD_NAME (pad));
|
|
||||||
/* TODO: Do not reconstruct pipeline twice if we receive
|
|
||||||
the event on both pads */
|
|
||||||
if (GST_STATE (self) >= GST_STATE_READY) {
|
|
||||||
/* TODO: diff the caps */
|
|
||||||
gst_uvc_h264_src_construct_pipeline (GST_BASE_CAMERA_SRC (self));
|
|
||||||
}
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue