mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-10-31 22:58:51 +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"
|
||||
},
|
||||
"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",
|
||||
"presence": "always"
|
||||
}
|
||||
|
|
|
@ -1163,6 +1163,7 @@ impl ElementImpl for TtToCea608 {
|
|||
let caps = gst::Caps::builder("closedcaption/x-cea-608")
|
||||
.field("format", "raw")
|
||||
.field("framerate", framerate)
|
||||
.field("field", 0)
|
||||
.build();
|
||||
|
||||
let src_pad_template = gst::PadTemplate::new(
|
||||
|
|
Loading…
Reference in a new issue