projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e2948
)
mplex: default to DVD MPEG-2 format instead of Generic MPEG-1
author
Tim-Philipp Müller
<tim@centricular.net>
Wed, 1 Aug 2012 10:34:08 +0000
(11:34 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Wed, 1 Aug 2012 10:34:08 +0000
(11:34 +0100)
ext/mplex/gstmplexjob.cc
patch
|
blob
|
history
diff --git
a/ext/mplex/gstmplexjob.cc
b/ext/mplex/gstmplexjob.cc
index
6895c1e
..
9047958
100644
(file)
--- 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