mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
Original commit message from CVS: Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
This commit is contained in:
parent
a958ef8c9b
commit
0a4f66220f
1 changed files with 1 additions and 0 deletions
|
@ -309,6 +309,7 @@ gst_v4l2src_init (GstV4l2Src * v4l2src, GstV4l2SrcClass * klass)
|
|||
gst_pad_set_fixatecaps_function (GST_BASE_SRC_PAD (v4l2src),
|
||||
gst_v4l2src_fixate);
|
||||
|
||||
gst_base_src_set_format (GST_BASE_SRC (v4l2src), GST_FORMAT_TIME);
|
||||
gst_base_src_set_live (GST_BASE_SRC (v4l2src), TRUE);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue