mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
interlace: Don't change field-pattern on PAUSED or PLAYING state
It would otherwise change the caps the element produces and cause the element to misbehave Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1349>
This commit is contained in:
parent
7c7ac7a0dc
commit
b53c1363f2
2 changed files with 3 additions and 2 deletions
|
@ -23768,7 +23768,7 @@
|
||||||
"construct-only": false,
|
"construct-only": false,
|
||||||
"controllable": false,
|
"controllable": false,
|
||||||
"default": "2:3 (2)",
|
"default": "2:3 (2)",
|
||||||
"mutable": "null",
|
"mutable": "ready",
|
||||||
"readable": true,
|
"readable": true,
|
||||||
"type": "GstInterlacePattern",
|
"type": "GstInterlacePattern",
|
||||||
"writable": true
|
"writable": true
|
||||||
|
|
|
@ -240,7 +240,8 @@ gst_interlace_class_init (GstInterlaceClass * klass)
|
||||||
g_param_spec_enum ("field-pattern", "Field pattern",
|
g_param_spec_enum ("field-pattern", "Field pattern",
|
||||||
"The output field pattern", GST_INTERLACE_PATTERN,
|
"The output field pattern", GST_INTERLACE_PATTERN,
|
||||||
GST_INTERLACE_PATTERN_2_3,
|
GST_INTERLACE_PATTERN_2_3,
|
||||||
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
GST_PARAM_MUTABLE_READY | G_PARAM_READWRITE |
|
||||||
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
g_object_class_install_property (object_class, PROP_PATTERN_OFFSET,
|
g_object_class_install_property (object_class, PROP_PATTERN_OFFSET,
|
||||||
g_param_spec_uint ("pattern-offset", "Pattern offset",
|
g_param_spec_uint ("pattern-offset", "Pattern offset",
|
||||||
|
|
Loading…
Reference in a new issue