summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-01 16:20:13 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-10-01 16:20:13 +0200
commitb814d25cc9c59d227d9987f9011cfa9744fdd65d (patch)
tree042e3a39ad964414f69ee370c754ad0bac2643ae
parent39a4bdfc59e68ccc77bab484ca63a6064345f290 (diff)
ffmpegenc: Use dash instead of underscore in property names
GLib internally converts them to dashs anyway.
-rw-r--r--ext/ffmpeg/gstffmpegenc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/ffmpeg/gstffmpegenc.c b/ext/ffmpeg/gstffmpegenc.c
index ed5cad3..8f97c2d 100644
--- a/ext/ffmpeg/gstffmpegenc.c
+++ b/ext/ffmpeg/gstffmpegenc.c
@@ -181,17 +181,17 @@ gst_ffmpegenc_class_init (GstFFMpegEncClass * klass)
"Target Video Bitrate", 0, G_MAXULONG, DEFAULT_VIDEO_BITRATE,
G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_GOP_SIZE,
- g_param_spec_int ("gop_size", "GOP Size",
+ g_param_spec_int ("gop-size", "GOP Size",
"Number of frames within one GOP", 0, G_MAXINT,
DEFAULT_VIDEO_GOP_SIZE, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ME_METHOD,
- g_param_spec_enum ("me_method", "ME Method", "Motion Estimation Method",
+ g_param_spec_enum ("me-method", "ME Method", "Motion Estimation Method",
GST_TYPE_ME_METHOD, ME_EPZS, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BUFSIZE,
- g_param_spec_ulong ("buffer_size", "Buffer Size",
+ g_param_spec_ulong ("buffer-size", "Buffer Size",
"Size of the video buffers", 0, G_MAXULONG, 0, G_PARAM_READWRITE));
g_object_class_install_property (G_OBJECT_CLASS (klass),
- ARG_RTP_PAYLOAD_SIZE, g_param_spec_ulong ("rtp_payload_size",
+ ARG_RTP_PAYLOAD_SIZE, g_param_spec_ulong ("rtp-payload-size",
"RTP Payload Size", "Target GOB length", 0, G_MAXULONG, 0,
G_PARAM_READWRITE));