Commit graph

316 commits

Author SHA1 Message Date
Wim Taymans
6b19e7a2d8 fix various leaks 2016-04-07 17:28:46 +02:00
Wim Taymans
bc73610dd0 pinossrc: don't send empty buffers 2016-04-07 12:14:16 +02:00
Wim Taymans
4149e34e67 monitor: put marks on all properties 2016-04-07 11:51:05 +02:00
Wim Taymans
2af64edd29 pinossink: send format change messages
Rework stream connect/disconnect from start/stop
Start the stream in setcaps when the format is known.
When the stream is already started in setcaps, send a format_change
message instead.
2016-04-07 11:39:52 +02:00
Wim Taymans
4121c421aa pinossrc: handle format change messages 2016-04-07 11:39:33 +02:00
Wim Taymans
ccb93c9652 stream: handle against zero length payload
Don't send empty payloads in pinospay
2016-04-07 11:38:00 +02:00
Wim Taymans
2d392c7410 buffer: construct and parse format change messages 2016-04-07 11:37:21 +02:00
Wim Taymans
e408c5a9a5 buffer: fix header pointer after buffer realloc 2016-04-07 11:36:04 +02:00
Wim Taymans
50228dddf8 pinossink: stop and disconnect the old stream when renegotiating
When we get a new format, stop, disconnect and unref the old stream.
In the future we should try to send a format change on the existing stream.
2016-04-06 21:05:44 +02:00
Wim Taymans
563f2a2726 client: Fix unref of source and source-input
Make sure we unref the source-input when it is removed.
When the source-input is removed, we should also unref the source. Do
this by adding the source as data for the source-input and unreffing it
when the source-input is freed.
2016-04-06 21:03:00 +02:00
Wim Taymans
3ad403ab13 stream: don't g_free a GBytes 2016-04-06 21:02:08 +02:00
Wim Taymans
f67ddb7c7e stream: ref stream in _stop and _start 2016-04-06 21:01:29 +02:00
Ognyan Tonchev
00aed12909 pinospay: don't do logic in g_assert
We still want to code to execute when asserts are disabled.
2016-03-09 10:49:22 +01:00
Ognyan Tonchev
b3d07070f5 buffer: avoid alignment problems
Use memcpy do avoid alignment problems.
2016-03-09 10:48:32 +01:00
Wim Taymans
068032e1dd pinos-monitor: Improve output of removed objects
Don't print NULL properties or formats
Don't print property values for removed objects because they are all
invalid anyway.
2016-02-01 16:29:56 +01:00
Wim Taymans
cdb2028f9b src -> pinos and fix include paths
Rename src to pinos and fix all the include paths so that they contain
pinos/ to avoid conflicts
2016-02-01 15:40:48 +01:00