Sebastian Dröge
d4a8d67982
glcontext: Fix memory leaks in unit test
2014-06-29 21:53:21 +02:00
Sebastian Dröge
426f9e6097
mpegts: Fix memory leaks in the test and the library
...
Currently uses g_boxed_free() in the unit test, this needs to
be fixed properly when cleaning up the API.
https://bugzilla.gnome.org/show_bug.cgi?id=730914
2014-06-29 21:34:50 +02:00
Sebastian Dröge
7f7793ef79
assrender: Make static caps actually static
...
Otherwise we leak once caps instance on every function call.
2014-06-29 21:05:27 +02:00
Sebastian Dröge
01fd3a1396
uvch264src: Free property strings when disposing the instance
2014-06-29 21:01:39 +02:00
Sebastian Dröge
c15458b8cb
intersubsink/src: Free channel string when finalizing the instance
2014-06-29 20:58:40 +02:00
Sebastian Dröge
b02cbcfa42
uvch264src: Fix compiler warning when compiling with G_DISABLE_ASSERT
2014-06-29 20:13:10 +02:00
Sebastian Dröge
78ab2cdffd
vc1parse: Fix compiler warnings when compiling with G_DISABLE_ASSERT
2014-06-29 20:11:58 +02:00
Sebastian Dröge
64160a1392
kate: Use G_GSIZE_FORMAT instead of unportable %zu
2014-06-28 23:26:23 +02:00
Sebastian Dröge
ace64ca3e5
badvideo: Update dist generated ORC files
2014-06-28 17:03:19 +02:00
Sebastian Dröge
286a80ab18
badvideo: Rename videoconvert functions to prevent conflicts with static linking
...
https://bugzilla.gnome.org/show_bug.cgi?id=728443
2014-06-28 17:03:19 +02:00
Thiago Santos
133c67a6a6
tests: aggregator: fix various leaks in the tests
2014-06-28 11:20:43 -03:00
Thiago Santos
1004f8d8ea
compositor: tests: Fix pad leak
...
Remember to unref requested pad
2014-06-28 09:44:22 -03:00
Thiago Santos
256e843e30
dataurisrc: fix leak as gst_buffer_replace adds its own ref
...
So unref the buffer after that otherwise it leaks
2014-06-28 09:44:22 -03:00
Thiago Santos
bdda4bb689
aggregator: always store or unref the buffer on the _chain function
...
Otherwise it leaks, and it is very common to go to flushing when the
pipeline is stopping, leaking a buffer.
2014-06-28 09:44:22 -03:00
Thiago Santos
b0652ee88f
aggregator: always unref the buffer on _finish function
...
Otherwise the user doesn't know if it was unref'd or not
2014-06-28 09:44:22 -03:00
Thiago Santos
5ce02fa5f9
aggregator: add dispose/finalize functions
...
Add functions to be able to cleanup the mutex/cond and pending buffers
on the aggregator and on its pad
2014-06-28 09:44:22 -03:00
Sebastian Dröge
ea1ee4e3d0
Release 1.3.90
2014-06-28 11:30:39 +02:00
Sebastian Dröge
e83fb3d45d
Update .po files
2014-06-28 11:27:15 +02:00
Sebastian Dröge
fae814aef8
interaudiosrc: Fail in set_caps() if the caps can't be parsed
2014-06-28 10:43:43 +02:00
Thiago Santos
f1b99f04dc
tests: camerabin: fix caps leak in test
...
The gst_query_set_caps_result doesn't take ownership of caps
2014-06-27 17:35:32 -03:00
Thiago Santos
c5ef1bee73
audiovisualizer: fix caps leaks
...
Fix leak of caps event and of caps objects when setting caps on
sink and src pads
2014-06-27 17:27:25 -03:00
Thiago Santos
cf76aa2a1d
kate: unref events when freeing events list
...
Instead of just feeing the queue structs
2014-06-27 17:00:03 -03:00
Thiago Santos
c2ebc2349f
kateenc: fix segment event leak
...
gst_event_replace increments the refcount
2014-06-27 16:59:58 -03:00
Thiago Santos
e6244874ab
mpegts: atsc: avoid calling g_convert with 0-sized input
...
Avoids an assertion. The cached string will be assigned an empty string
as its value when size is 0.
2014-06-27 12:50:27 -03:00
Gwenole Beauchesne
9bd186a960
codecparsers: h264: fix memory leak in GstH264PPS.
...
The gst_h264_parse_pps() function dynamically allocates the slice
group ids map array, so that needs to be cleared before parsing a
new PPS NAL unit again, or when it is no longer needed.
Likewise, a clean copy to the internal NAL parser state needs to be
performed so that to avoid a double-free corruption.
https://bugzilla.gnome.org/show_bug.cgi?id=707282
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-06-27 14:00:10 +02:00
Gwenole Beauchesne
b458a1e255
codecparsers: h264: fix typo in GstH264VUIParams description.
2014-06-26 17:22:26 +02:00
Aurélien Zanelli
67df207280
codecparsers: h264: add support for Recovery Point SEI message.
...
The recovery point SEI message helps a decoder in determining if the
decoding process would produce acceptable pictures for display after
the decoder initiates random access or after the encoder indicates
a broken link in the coded video sequence.
This is not used in the h264parse element, but it could help debugging.
https://bugzilla.gnome.org/show_bug.cgi?id=723380
2014-06-26 17:22:26 +02:00
Gwenole Beauchesne
0440cabf49
codecparsers: h264: add nal_reader_skip_long() helper.
...
Add nal_reader_skip_long() helper function to allow an arbitrary number
of bits to be skipped. The former nal_reader_skip() function is too
limited to the actual cache size.
Use this new function to simplify gst_h264_parser_parse_sei_message()
default case, that skips unsupported payloads.
v2: made args consistent from header to source file.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-06-26 17:22:26 +02:00
Matthew Waters
2e83aca728
videoaggregator: fix a refcount error when keeping the buffer
...
We take a ref on the pad's buffer at the beginning so we need to
unref when we are done in all cases.
2014-06-27 00:14:03 +10:00
Gwenole Beauchesne
c46b63d44e
codecparsers: vp8: move up built-in range decoder private data.
...
Use the first _gst_reserved[] slot to hold the built-in range decoder
private data. The first slot was formerly the buffer size, which was
then promoted to semi-public namespace when it got integrated as git
commit 2940ac6.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2014-06-26 16:04:54 +02:00
Matthew Waters
c39105524a
glcolorconvert: free pixel swizzling information
2014-06-26 11:25:37 +10:00
Matthew Waters
a03dbd11e4
glmixer: remove redundant/unused lock
...
Use the GstObject lock instead
2014-06-26 11:15:56 +10:00
Matthew Waters
de05daec80
glmixer: remove redundant creation and free of GPtrArrays
...
Also plugs a memory leak
2014-06-26 11:12:49 +10:00
Matthew Waters
f686c890e4
glmixer: plug a memory leak for the caps
...
gst_query_set_caps_result() takes a ref on the caps
2014-06-26 10:54:38 +10:00
Matthew Waters
a9215f78b5
aggregator: plug a memory leak of the srccaps
2014-06-26 10:53:16 +10:00
Matthew Waters
596353854f
glmixer: intersect with the filtercaps if available
2014-06-26 10:31:41 +10:00
Matthew Waters
8ef71b5db7
gl: update gles2 compatability header
2014-06-26 10:31:41 +10:00
Edward Hervey
22dfd9aef3
mpegts: Unify API : GstMpegts / gst_mpegts_ / GST_*_MPEGTS_
...
It was previously a mix and match of both variants, introducing just too much
confusion.
The prefix are from now on:
* GstMpegts for structures and type names (and not GstMpegTs)
* gst_mpegts_ for functions (and not gst_mpeg_ts_)
* GST_MPEGTS_ for enums/flags (and not GST_MPEG_TS_)
* GST_TYPE_MPEGTS_ for types (and not GST_TYPE_MPEG_TS_)
The rationale for chosing that is:
* the namespace is shorter/direct (it's mpegts, not mpeg_ts nor mpeg-ts)
* the namespace is one word under Gst
* it's shorter (yah)
2014-06-25 14:50:05 +02:00
Edward Hervey
cddabd751c
mpegtssection: Free data in error cases
...
Data is marked as "transfer full", if we have an error we need to
free it.
2014-06-25 14:15:37 +02:00
Matthew Waters
720405b561
glfilter: pass through the allocation query when in passthrough mode
...
Otherwise two GL elements on either side will fail to use the same
GL context.
2014-06-25 22:05:37 +10:00
Matthew Waters
a2bd2ce83b
glfilter: prefer passthrough for non-sysmem caps
2014-06-25 21:50:40 +10:00
Matthew Waters
7797b15de7
glshader: enable glshader on GLES2
2014-06-25 18:26:13 +10:00
Julien Isorce
13023f2975
glcolorscale: do passthrough on same caps
...
See https://bugzilla.gnome.org/show_bug.cgi?id=732178
2014-06-25 06:56:43 +01:00
Julien Isorce
f63c91ab71
glfilter: handle NULL decide_query which means passthrough
...
See https://bugzilla.gnome.org/show_bug.cgi?id=732178
2014-06-25 06:56:33 +01:00
Julien Isorce
045aa4ee7e
glfilter: prepend intersection to src caps
...
Prefer to stay in the same memory space if possible.
Also it let a chance to do passthrough.
See https://bugzilla.gnome.org/show_bug.cgi?id=732178
2014-06-25 06:56:25 +01:00
Julien Isorce
6f45d00a9b
gl: enable glvideomixer on GLES2
2014-06-25 06:55:11 +01:00
Reynaldo H. Verdejo Pinochet
3d22f686b6
dvbsrc: add copyright/license stub to header
2014-06-25 01:05:45 -04:00
Reynaldo H. Verdejo Pinochet
643a19b0dc
dvbsrc: documentation fixes
2014-06-25 01:05:40 -04:00
Matthew Waters
c37ace1844
glvideomixer: bas output width/height on the pad properties
...
Allows automatic negotiation of the size in the following case:
gst-launch-1.0 glvideomixer name=m sink_0::xpos=0 sink_1::xpos=320 ! glimagesink \
videotestsrc ! m. \
videotestsrc pattern=1 ! m.
https://bugzilla.gnome.org/show_bug.cgi?id=731878
2014-06-25 12:00:34 +10:00
Matthew Waters
4c02c4f004
glvideomixer: don't clobber already allocated shader
2014-06-25 10:19:42 +10:00