summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-04-19 09:40:53 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-04-19 09:40:53 +0200
commit3bd50184563a522a8d0960e59916d744ef1d319d (patch)
treeae7d7aaa7ca12303308dd3b432e4be87ba373250
parent7097762a01b1a6eac47aea2c79b47da85b69efc0 (diff)
v4l2src: Rename pre-set-format signal to prepare-format
-rw-r--r--sys/v4l2/gstv4l2src.c4
-rw-r--r--sys/v4l2/v4l2src_calls.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c
index 7e8d858e8..b2204b262 100644
--- a/sys/v4l2/gstv4l2src.c
+++ b/sys/v4l2/gstv4l2src.c
@@ -296,7 +296,7 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass)
PROP_DEF_DECIMATE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
/**
- * GstV4l2Src::pre-set-format:
+ * GstV4l2Src::prepare-format:
* @v4l2src: the v4l2src instance
* @fd: the file descriptor of the current device
* @fourcc: the fourcc of the format being set
@@ -309,7 +309,7 @@ gst_v4l2src_class_init (GstV4l2SrcClass * klass)
* This is mostly useful for UVC H264 encoding cameras which need the H264
* Probe & Commit to happen prior to the normal Probe & Commit.
*/
- gst_v4l2_signals[SIGNAL_PRE_SET_FORMAT] = g_signal_new ("pre-set-format",
+ gst_v4l2_signals[SIGNAL_PRE_SET_FORMAT] = g_signal_new ("prepare-format",
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
0,
diff --git a/sys/v4l2/v4l2src_calls.c b/sys/v4l2/v4l2src_calls.c
index f50a58111..fa9a55cf2 100644
--- a/sys/v4l2/v4l2src_calls.c
+++ b/sys/v4l2/v4l2src_calls.c
@@ -218,7 +218,7 @@ gst_v4l2src_set_capture (GstV4l2Src * v4l2src, guint32 pixelformat,
if (pixelformat == GST_MAKE_FOURCC ('M', 'P', 'E', 'G'))
return TRUE;
- g_signal_emit_by_name (v4l2src, "pre-set-format",
+ g_signal_emit_by_name (v4l2src, "prepare-format",
v4l2src->v4l2object->video_fd, pixelformat, width, height);
if (!gst_v4l2_object_set_format (v4l2src->v4l2object, pixelformat, width,