mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 01:15:39 +00:00
mplex: default to DVD MPEG-2 format instead of Generic MPEG-1
This commit is contained in:
parent
e1e29488d0
commit
a48cfea4a2
1 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ enum
|
||||||
/* FILL ME */
|
/* FILL ME */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define DEFAULT_FORMAT MPEG_FORMAT_DVD
|
||||||
/*
|
/*
|
||||||
* Property enumeration types.
|
* Property enumeration types.
|
||||||
*/
|
*/
|
||||||
|
@ -100,7 +101,7 @@ GstMplexJob::initProperties (GObjectClass * klass)
|
||||||
/* encoding profile */
|
/* encoding profile */
|
||||||
g_object_class_install_property (klass, ARG_FORMAT,
|
g_object_class_install_property (klass, ARG_FORMAT,
|
||||||
g_param_spec_enum ("format", "Format", "Encoding profile 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)));
|
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||||
|
|
||||||
/* total stream datarate. Normally, this shouldn't be needed, but
|
/* total stream datarate. Normally, this shouldn't be needed, but
|
||||||
|
|
Loading…
Reference in a new issue