From 23ca2ae3b14cb2d5065ca729ab82db29a8670b64 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 13 Aug 2008 00:59:07 +0000 Subject: [PATCH] ext/theora/theoraenc.c: Remove the 2000 kbit limit to bitrate, since it has no basis in libtheora. Original commit message from CVS: * ext/theora/theoraenc.c: Remove the 2000 kbit limit to bitrate, since it has no basis in libtheora. --- ChangeLog | 5 +++++ ext/theora/theoraenc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 06eb815e11..9b80b51098 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-12 David Schleef + + * ext/theora/theoraenc.c: Remove the 2000 kbit limit to bitrate, + since it has no basis in libtheora. + 2008-08-12 Stefan Kost * gst-libs/gst/interfaces/propertyprobe.h: diff --git a/ext/theora/theoraenc.c b/ext/theora/theoraenc.c index 3d0ea18867..7292caea2e 100644 --- a/ext/theora/theoraenc.c +++ b/ext/theora/theoraenc.c @@ -226,7 +226,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass) /* general encoding stream options */ g_object_class_install_property (gobject_class, ARG_BITRATE, g_param_spec_int ("bitrate", "Bitrate", "Compressed video bitrate (kbps)", - 0, 2000, THEORA_DEF_BITRATE, + 0, (1 << 24) - 1, THEORA_DEF_BITRATE, (GParamFlags) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, ARG_QUALITY, g_param_spec_int ("quality", "Quality", "Video quality", 0, 63,