mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 05:21:00 +00:00
cea608overlay: also print bytes that failed to decode
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1519>
This commit is contained in:
parent
a3e30b499f
commit
f0c38621c1
1 changed files with 3 additions and 3 deletions
|
@ -161,7 +161,7 @@ impl Cea608Overlay {
|
|||
};
|
||||
match state.renderer.push_pair([triple[1], triple[2]]) {
|
||||
Err(e) => {
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608: {e:?}");
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608 ({:x?}): {e:?}", [triple[1], triple[2]]);
|
||||
continue;
|
||||
}
|
||||
Ok(true) => {
|
||||
|
@ -196,7 +196,7 @@ impl Cea608Overlay {
|
|||
};
|
||||
match state.renderer.push_pair([triple[1], triple[2]]) {
|
||||
Err(e) => {
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608: {e:?}");
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608 ({:x?}): {e:?}", [triple[1], triple[2]]);
|
||||
continue;
|
||||
}
|
||||
Ok(true) => {
|
||||
|
@ -253,7 +253,7 @@ impl Cea608Overlay {
|
|||
for pair in data.chunks_exact(2) {
|
||||
match state.renderer.push_pair([pair[0], pair[1]]) {
|
||||
Err(e) => {
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608: {e:?}");
|
||||
gst::warning!(CAT, imp: self, "Failed to parse incoming CEA-608 ({:x?}): {e:?}", [pair[0], pair[1]]);
|
||||
continue;
|
||||
}
|
||||
Ok(true) => {
|
||||
|
|
Loading…
Reference in a new issue