Skip to content

Commit

Permalink
Temporary workaround for Bug Buzztrax#110
Browse files Browse the repository at this point in the history
  • Loading branch information
dlbeswick committed Jul 24, 2021
1 parent 64ff9f9 commit 517a4d8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/gst/bml/gstbmltransform.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ gst_bml_transform_transform_ip_mono (GstBaseTransform * base,
} else {
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
}
#ifdef DLB_BUG_GAP
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
#endif

gst_buffer_unmap (outbuf, &info);

Expand Down Expand Up @@ -424,6 +427,9 @@ gst_bml_transform_transform_ip_stereo (GstBaseTransform * base,
} else {
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
}
#ifdef DLB_BUG_GAP
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
#endif

gst_buffer_unmap (outbuf, &info);

Expand Down Expand Up @@ -513,6 +519,9 @@ gst_bml_transform_transform_mono_to_stereo (GstBaseTransform * base,
} else {
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
}
#ifdef DLB_BUG_GAP
GST_BUFFER_FLAG_UNSET (outbuf, GST_BUFFER_FLAG_GAP);
#endif

gst_buffer_unmap (inbuf, &infoi);
gst_buffer_unmap (outbuf, &infoo);
Expand Down

0 comments on commit 517a4d8

Please sign in to comment.