diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2012-08-01 11:34:08 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-08-01 11:34:08 +0100 |
commit | a48cfea4a2875775dc48f330e55f3628c6e90a82 (patch) | |
tree | ac3c4cd743173c669d1ecf18cfd26abf0a75e00e | |
parent | e1e29488d01a29f97b1d59b2650f7899989f15ca (diff) | |
download | gstreamer-plugins-bad-a48cfea4a2875775dc48f330e55f3628c6e90a82.tar.gz |
mplex: default to DVD MPEG-2 format instead of Generic MPEG-1
-rw-r--r-- | ext/mplex/gstmplexjob.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/mplex/gstmplexjob.cc b/ext/mplex/gstmplexjob.cc index 6895c1efc..904795854 100644 --- a/ext/mplex/gstmplexjob.cc +++ b/ext/mplex/gstmplexjob.cc @@ -41,6 +41,7 @@ enum /* FILL ME */ }; +#define DEFAULT_FORMAT MPEG_FORMAT_DVD /* * Property enumeration types. */ @@ -100,7 +101,7 @@ GstMplexJob::initProperties (GObjectClass * klass) /* encoding profile */ g_object_class_install_property (klass, ARG_FORMAT, g_param_spec_enum ("format", "Format", "Encoding profile format", - GST_TYPE_MPLEX_FORMAT, 0, + GST_TYPE_MPLEX_FORMAT, DEFAULT_FORMAT, (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); /* total stream datarate. Normally, this shouldn't be needed, but |