mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-27 04:20:28 +00:00
awstranscriber: slight debug improvement
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1171>
This commit is contained in:
parent
4fcbb6ae61
commit
408fd2030c
1 changed files with 2 additions and 2 deletions
|
@ -1358,7 +1358,7 @@ impl TranslationPadTask {
|
|||
|
||||
let mut pts = start_time + item_pts;
|
||||
|
||||
let mut buf = gst::Buffer::from_mut_slice(content.into_bytes());
|
||||
let mut buf = gst::Buffer::from_mut_slice(content.clone().into_bytes());
|
||||
{
|
||||
let buf = buf.get_mut().unwrap();
|
||||
|
||||
|
@ -1413,7 +1413,7 @@ impl TranslationPadTask {
|
|||
|
||||
last_position = pts + duration;
|
||||
|
||||
gst::debug!(CAT, imp: self.pad, "Pushing buffer: {pts} -> {}", pts + duration);
|
||||
gst::debug!(CAT, imp: self.pad, "Pushing buffer with content {content}: {pts} -> {}", pts + duration);
|
||||
|
||||
if self.pad.obj().push(buf).is_err() {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue