Commit db6a7d35 authored by W. Michael Petullo's avatar W. Michael Petullo

dmap-transcode-stream.c: add missing ..._get_instance_private()

parent cd73cfbd
Pipeline #194868 passed with stage
in 6 minutes and 54 seconds
......@@ -439,9 +439,17 @@ dmap_transcode_stream_class_init (DmapTranscodeStreamClass * klass)
istream_class->close_finish = _close_finish;
}
G_DEFINE_TYPE_WITH_CODE (DmapTranscodeStream, dmap_transcode_stream,
G_TYPE_INPUT_STREAM,
G_IMPLEMENT_INTERFACE (G_TYPE_SEEKABLE,
_seekable_iface_init)
G_ADD_PRIVATE (DmapTranscodeStream));
static void
dmap_transcode_stream_init (DmapTranscodeStream * stream)
{
stream->priv = dmap_transcode_stream_get_instance_private(stream);
stream->priv->buffer = g_queue_new ();
stream->priv->read_request = 0;
stream->priv->write_request = 0;
......@@ -454,9 +462,3 @@ dmap_transcode_stream_init (DmapTranscodeStream * stream)
g_cond_init (&stream->priv->buffer_read_ready);
g_cond_init (&stream->priv->buffer_write_ready);
}
G_DEFINE_TYPE_WITH_CODE (DmapTranscodeStream, dmap_transcode_stream,
G_TYPE_INPUT_STREAM,
G_IMPLEMENT_INTERFACE (G_TYPE_SEEKABLE,
_seekable_iface_init)
G_ADD_PRIVATE (DmapTranscodeStream));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment