mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst/tcp/gstmultifdsink.c: If caps change, then update the client's idea of the caps so that we don't end up re-sendin...
Original commit message from CVS: * gst/tcp/gstmultifdsink.c: (gst_multi_fd_sink_client_queue_buffer): If caps change, then update the client's idea of the caps so that we don't end up re-sending streamheaders for every single buffer after the caps change.
This commit is contained in:
parent
107c7bf894
commit
0b8488ee2d
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2006-10-20 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
|
* gst/tcp/gstmultifdsink.c:
|
||||||
|
(gst_multi_fd_sink_client_queue_buffer):
|
||||||
|
If caps change, then update the client's idea of the caps so that we
|
||||||
|
don't end up re-sending streamheaders for every single buffer after
|
||||||
|
the caps change.
|
||||||
|
|
||||||
2006-10-20 Michael Smith <msmith@fluendo.com>
|
2006-10-20 Michael Smith <msmith@fluendo.com>
|
||||||
|
|
||||||
* ext/ogg/gstoggparse.c: (gst_ogg_parse_dispose),
|
* ext/ogg/gstoggparse.c: (gst_ogg_parse_dispose),
|
||||||
|
|
|
@ -1166,6 +1166,9 @@ gst_multi_fd_sink_client_queue_buffer (GstMultiFdSink * sink,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Replace the old caps */
|
||||||
|
gst_caps_unref (client->caps);
|
||||||
|
client->caps = gst_caps_ref (caps);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (G_UNLIKELY (send_streamheader)) {
|
if (G_UNLIKELY (send_streamheader)) {
|
||||||
|
|
Loading…
Reference in a new issue