mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-03 15:58:42 +00:00
tttocea608: specify raw 608 field
The element can only output field=0 raw 608 data. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1166>
This commit is contained in:
parent
f366c20869
commit
355f925954
2 changed files with 2 additions and 1 deletions
|
@ -5049,7 +5049,7 @@
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
},
|
},
|
||||||
"src": {
|
"src": {
|
||||||
"caps": "closedcaption/x-cea-608:\n format: raw\n framerate: [ 1/2147483647, 2147483647/1 ]\n",
|
"caps": "closedcaption/x-cea-608:\n format: raw\n framerate: [ 1/2147483647, 2147483647/1 ]\n field: 0\n",
|
||||||
"direction": "src",
|
"direction": "src",
|
||||||
"presence": "always"
|
"presence": "always"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1163,6 +1163,7 @@ impl ElementImpl for TtToCea608 {
|
||||||
let caps = gst::Caps::builder("closedcaption/x-cea-608")
|
let caps = gst::Caps::builder("closedcaption/x-cea-608")
|
||||||
.field("format", "raw")
|
.field("format", "raw")
|
||||||
.field("framerate", framerate)
|
.field("framerate", framerate)
|
||||||
|
.field("field", 0)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
let src_pad_template = gst::PadTemplate::new(
|
let src_pad_template = gst::PadTemplate::new(
|
||||||
|
|
Loading…
Reference in a new issue