mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
Fix schroenc for refcount change in GstBaseVideoEncoder.
This commit is contained in:
parent
867cb76b21
commit
553ec8c005
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ gst_schro_enc_handle_frame (GstBaseVideoEncoder * base_video_encoder,
|
|||
GST_DEBUG ("granule offset %lld", schro_enc->granule_offset);
|
||||
}
|
||||
|
||||
schro_frame = gst_schro_buffer_wrap (frame->sink_buffer,
|
||||
schro_frame = gst_schro_buffer_wrap (gst_buffer_ref (frame->sink_buffer),
|
||||
state->format, state->width, state->height);
|
||||
|
||||
GST_DEBUG ("pushing frame %p", frame);
|
||||
|
|
Loading…
Reference in a new issue