summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-06-10audioringbuffer: start ringbuffer if needed upon commit1.4Mark Nauwelaerts1-0/+12
... to provide for a running clock.
2015-06-10Fix documentation that incorrectly says a return value should be freedSam Thursfield1-2/+3
The gst_discoverer_info_get_missing_elements_installer_details() documentation and annotation says that the return value should be freed with g_strfreev(), but actually it's owned by the GstDiscovereInfo object and should definitely not get freed by the caller as well. https://bugzilla.gnome.org/show_bug.cgi?id=742006
2015-06-10audiobasesink: get the internal time before the clock resetThiago Santos1-3/+3
Otherwise calls to get the clock time might change its internal state and the internal/external time for calibration get unbalanced leading to a clock jump https://bugzilla.gnome.org/show_bug.cgi?id=740834
2015-06-10audiobase{sink,src}: Don't hold the object lock while calling ↵Sebastian Dröge2-10/+36
create_ringbuffer() vfunc The implementation of that vfunc might want to use the object lock for something too. It's generally not a good idea to keep the object lock while calling any function implemented elsewhere. Also the ringbuffer can only be NULL at this point, remove a useless if block. And in the sink actually hold the object lock while setting the ringbuffer on the instance. Code accessing this is expected to use the object lock, so do it here ourselves too.
2015-06-10riff-media: Error out early if we observe an invalid audio formatSebastian Dröge1-0/+4
2015-06-10riff: Also handle invalid block aligns for raw audioSebastian Dröge1-6/+10
Fixes audio playback of http://demo.archermind.com/Test%20Sample/Video/MPEG%204/Divx3/Low-Motion/576-320.avi Audio and video together is still broken because of other issues.
2015-06-10audiorate: Fill gap eventsMatej Knopp1-1/+10
https://bugzilla.gnome.org/show_bug.cgi?id=741281
2015-06-10audio: Add error handling to gst_audio_decoder_drain()Sanjay NM1-1/+9
https://bugzilla.gnome.org/show_bug.cgi?id=740686
2015-06-07po: Update translationsSebastian Dröge4-229/+92
2015-03-24decodebin2: Set multiqueue sizes before use-buffering.Duncan Palmer1-8/+22
This fixes a race where the use-buffering property on a multiqueue was set before the queue depth was changed from it's high preroll limits to lower playback limits. This resulted in buffering messages being emitted by the multiqueue in the short window between use-buffering being set and the queue depth being reset. https://bugzilla.gnome.org/show_bug.cgi?id=744308 Conflicts: gst/playback/gstdecodebin2.c
2015-03-03textoverlay: Re-render if video size changedNicolas Dufresne1-0/+5
https://bugzilla.gnome.org/show_bug.cgi?id=745554
2015-02-18tagdemux: ensure tags have been fetched before pulling dataThiago Santos1-7/+21
Otherwise upstream can get confused about offsets as there will be a jump once the tags have been parsed due to the stripped area. If upstream pulls from 0 to 100, and then tagdemux does the tag reading and finds out that the first 200 bytes are the tag, the next pull from upstream will have an offset of 200 bytes. So upstream will get the following data: 0 - 100, 300 - (EOS), as it will continue requesting from where it has last stopped, but tagdemux will add an offset to skip the tags. This patch makes sure that the tags have been parsed and skipped since the first pull range call. https://bugzilla.gnome.org/show_bug.cgi?id=744580
2014-12-18Release 1.4.5Sebastian Dröge40-1172/+1301
2014-12-18Update .po filesSebastian Dröge38-38/+38
2014-12-16audiodecoder: do not use fixed caps on source padThiago Santos1-1/+0
decoders can change the caps on their source pads, so they don't use fixed caps. Having fixed caps can cause renegotiation issues.
2014-12-16videodecoder: do not use fixed caps on source padThiago Santos1-1/+0
decoders can change the caps on their source pads, so they don't use fixed caps. Having fixed caps can cause renegotiation issues.
2014-12-16Revert "video: Fix non-default usage of gst_video_sink_center_rect"Sebastian Dröge2-69/+8
This reverts commit 899461d722e45f591eeddf33c405677170d63de4. There seems to be a lot of code out there that does not properly initialize the rectangles and then causes undefined behaviour. Including our video sinks. Let's keep this out of 1.4, fix everything everywhere and keep it in 1.6
2014-12-16ximagesink: clear src and dest rectanglesWim Taymans2-3/+8
Now that the center function also takes into account the x and y coordinates of the dest rectangle, better clear all the fields before using them.
2014-12-16videopool: update buffer size after video alignmentSong Bing3-3/+18
Update the new buffer size after alignment in the pool configuration before calling the parent set_config. This ensures that the parent knows about the buffer size that we will allocate and makes the size check work in the release_buffer method. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741420
2014-12-15video: Fix non-default usage of gst_video_sink_center_rectEdward Hervey2-8/+69
Make sure we take into account non-0 x/y destination rectangles
2014-12-15Revert "decodebin: Only emit the drain signal for the main decode chain, not ↵Sebastian Dröge1-1/+1
any subchains" This reverts commit a391dfe17f1a325f60e1d51a6d40c1a68eb196de. It breaks gapless playback: https://bugzilla.gnome.org/show_bug.cgi?id=740045
2014-12-12tests: don't run orc/* tests under valgrindTim-Philipp Müller1-1/+2
They just seem to blow up for some reason that needs investigating.
2014-12-12tests: audiodecoder: fix broken refcounting in unit testTim-Philipp Müller1-2/+1
The set_format vfunc does not pass ownership of the caps to the decoder, so we mustn't unref the caps there. gst_event_new_caps() does not take ownership of the caps passed, so we must unref the caps afterwards. Fixes leaks when running test in valgrind in 1.4 branch.
2014-12-11playbin: Do not mix up stream type when getting stream combiner elementThibault Saunier1-2/+2
We were always returning the video stream combiner whatever stream type combiner was wanted.
2014-12-11playbin2: always unref the combiner sinkpad when removing the srcpadThiago Santos1-17/+19
Create a function to do the pad cleanup of the GstSourceCombine struct and use it to not forget to also cleanup the sink pad and fix a memory leak. https://bugzilla.gnome.org/show_bug.cgi?id=741198
2014-12-11videodecoder: Add GST_VIDEO_DECODER_CAST macroJan Schmidt1-0/+1
It's used in some macros already, so let's make it exist.
2014-12-11rtspconnection: No remove child if destroyed.Göran Jönsson1-2/+4
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740730
2014-12-11audiodecoder: Push pending events before sending EOS.Mathieu Duponchelle2-1/+38
Segments are added to the pending events, and pushing a segment is mandatory before sending EOS. + Adds a test. https://bugzilla.gnome.org/show_bug.cgi?id=740853
2014-12-11audiorate: Use gst_util_uint64_scale_int_round()Chad1-9/+11
Using gst_util_uint64_scale_int() causes slight drift which accumulates over time. https://bugzilla.gnome.org/show_bug.cgi?id=741045
2014-12-11gst-play: do not set system's volume to 100% by defaultThiago Santos1-2/+3
Only change the volume if requested
2014-12-11alsa: Use EPIPE instead of ESTRPIPE if the latter does not existThomas Klausner2-0/+8
NetBSD does not have ESTRPIPE. https://bugzilla.gnome.org/show_bug.cgi?id=740952
2014-12-11playsink: Reset mute property of the sink to playsink's value when setting ↵Andrei Sarakeev1-0/+2
up the audio chain Otherwise the following can happen: 1. set mute=true 2. play media1 (Ok) 3. play media without audio (audiochain removed) 4. play media2 (audiochain created, mute=*false*) https://bugzilla.gnome.org/show_bug.cgi?id=740675
2014-12-11discoverer: fix typo in header fileAndrei Sarakeev1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=740675
2014-12-11pbutils: add description for audio/x-audibleTim-Philipp Müller1-0/+1
2014-12-11typefind: improve 'audible' audio typefinder a littleTim-Philipp Müller1-5/+11
Don't return NEARLY_CERTAIN just based on 4 bytes. Also change media type to audio/x-audible. https://bugzilla.gnome.org/show_bug.cgi?id=715050
2014-12-11typefindfunctions: add audio/audible typefinderJonathan Matthew1-0/+26
https://bugzilla.gnome.org/show_bug.cgi?id=715050
2014-11-24videoencoder: don't complain about PTS != DTS on keyframesMatej Knopp1-3/+1
It is valid for streams with b-frames https://bugzilla.gnome.org/show_bug.cgi?id=740556
2014-11-24playbin: fix 'attempt to unlock mutex that was not locked' in error code pathTim-Philipp Müller1-0/+1
Fixes playbin unit test with latest GLib.
2014-11-09pbutils: add description for Apple Core Audio FormatTim-Philipp Müller1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=739840
2014-11-09typefind: recognize Apple Core Audio FormatPeter G. Baum1-0/+2
(CAF) Specification 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=739840
2014-11-09tcpserversink: Don't leak a `GSocket` and a `GInetSocketAddress`William Manley2-0/+7
when accepting a connection. Discovered by `make check-valgrind` with the new `socketintegrationtest`. https://bugzilla.gnome.org/show_bug.cgi?id=739544
2014-11-06Release 1.4.4Sebastian Dröge34-42/+229
2014-11-06Update .po filesSebastian Dröge38-38/+38
2014-11-06tests: dist header file needed for ABI checks on powerpc32Tim-Philipp Müller1-0/+1
Fixes 'make check' on debian powerpc32 buildbot: libs/libsabi.c:95:26: fatal error: struct_ppc32.h: No such file or directory
2014-10-24rtspconnection: call watch notify before freeing any watch resourcesAleix Conchillo Flaqué1-3/+3
This gives control to the notify function allowing it to finish other watch related functionality. https://bugzilla.gnome.org/show_bug.cgi?id=737752
2014-10-24appsink: Fix gst_app_sink_pull() docs to transfer full for the return valueSebastian Dröge1-2/+4
Also we get a GstSample, not a GstBuffer here.
2014-10-24audiodecoder: should post DECODE errors and not ENCODEThiago Santos1-3/+3
Fix error code for audio decoder
2014-10-24playsink: Use correct property enum value for video-filter property installationHeinrich Fink1-1/+1
2014-10-14decodebin: Only emit the drain signal for the main decode chain, not any ↵Andrei Sarakeev1-1/+1
subchains https://bugzilla.gnome.org/show_bug.cgi?id=738064
2014-10-14videoencoder: Stop storing if we received EOSSebastian Dröge1-10/+0
This was never reset when going from PAUSED->READY and resulted in encoders being not reusable after EOS. They just rejected any buffer because they received EOS in their previous life. The flag wasn't used anywhere except for rejecting buffers after EOS, and this is now handled by GstPad directly.