summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-09meson: Support building without Gst debugHEADmasterThibault Saunier1-0/+24
2016-12-09xmptag: Don't leak the namespace string if there are multipleSebastian Dröge1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=775887
2016-12-09id3v2: Clarify id3v2_add_id3v2_frame_blob_to_taglist()Jan Schmidt1-20/+6
Pass the frame data and size explicitly to id3v2_add_id3v2_frame_blob_to_taglist() and add a comment that it's being deliberately / manually passed the full ID3v2 frame including header.
2016-12-09id3v2: Add missing overrun check for frame sizesJan Schmidt1-2/+8
When frames claim to have a footer, ensure they are large enough to contain one to avoid an invalid read overrun. Spotted by Joshua Yabut
2016-12-09ogg: Fix element factory klass for OGM parsersJan Schmidt1-2/+2
They're parsers, not decoders, so fix the klass info accordingly.
2016-12-08docs: design: remove outdated draft docs (hw-acceleration, va)Tim-Philipp Müller6-549/+3
2016-12-08docs: design: move most design docs to gst-docs moduleTim-Philipp Müller13-3652/+1
2016-12-08decodebin3: Remove unused variableSeungha Yang2-7/+1
https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: More cleanup DecodebinOutputStream and MultiQueueSlotSeungha Yang1-0/+24
When removing DecodebinInputStream, cleanup DecodebinOutputStream and MultiQueueSlot also if they were drained. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: Drop duration query during _input_pad_unlink ()Seungha Yang1-0/+22
Playbin3 takes lock when querying duration and handling stream-collection message. So,to post stream-collection message, duration query should be dropped when input pad is being unlinked. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: Update stream-collection with _input_pad_unlink()Seungha Yang1-1/+31
Since parsebin does not post new stream-collection message when it was being removed, decodebin3 should update it itself. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: Cleanup no more used DecodebinInputSeungha Yang1-0/+21
Remove DecodebinInput using gst_element_call_async() API. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: Cleanup no more used MultiQueueSlotSeungha Yang1-0/+14
Since MultiQueueSlot cannot be removed inside of streaming thread, use gst_element_call_async() API. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08decodebin3: Send custom-eos event to notify drained stateSeungha Yang2-18/+37
Likewise how urisourcebin is doing, use custom event if other streams are still alive. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08playbin3: Reconfigure playsink again with pad-removedSeungha Yang1-0/+22
If selected streams and actived streams are matched, do reconfigure of playsink again with pad-removed signal https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08playback: Remove trailing whitespaceSeungha Yang2-4/+4
https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08urisourcebin: Try to link output slot before cleanupSeungha Yang1-1/+7
Before cleaning up output slot, check pending pads first, if available. Then, cleanup it only if linking was failed. https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-08urisourcebin: Cleanup unused output slotSeungha Yang1-13/+35
Since urisourcebin cannot cleanup unused output slot in streaming thread, it will be handled in thread pool with gst_element_call_async (). https://bugzilla.gnome.org/show_bug.cgi?id=773341
2016-12-06tagdemux: Fix crash when shutting down element during getrange()Sebastian Dröge1-0/+8
Ensure that nothing is in any of the streaming thread functions anymore when going from PAUSED to READY. While the parent's state change function has deactivated all pads, there is nothing preventing downstream from activating our srcpad again and calling the getrange() function. Although we're in READY! https://bugzilla.gnome.org/show_bug.cgi?id=775687
2016-12-03Automatic update of common submoduleEdward Hervey2-1/+1
From f980fd9 to 39ac2f5
2016-12-02typefind: add another test to itc typefinderReynaldo H. Verdejo Pinochet1-1/+10
Report certainty after every test passes. Additionally: - Remove self-explanatory comment.
2016-12-01ssaparse: Free initialization section before storing the next oneSebastian Dröge1-0/+2
If getting multiple caps events. https://bugzilla.gnome.org/show_bug.cgi?id=775480
2016-12-01oggdemux: Don't end up ignoring caps just because there are no headers for ↵Sebastian Dröge1-1/+1
this stream https://bugzilla.gnome.org/show_bug.cgi?id=775459
2016-11-30audioconvert: Error out if mapping input/output buffer failedSebastian Dröge1-3/+19
2016-11-30audioconvert: Don't map the input buffer in in-place modeSebastian Dröge1-11/+18
Input and output buffer are the same, let's not do unnecessary work. https://bugzilla.gnome.org/show_bug.cgi?id=775369
2016-11-30audio-converter: In passthrough, also don't copy if in and out block are the ↵Sebastian Dröge1-1/+7
same In and out array are usually different, they are stack allocated arrays. However the blocks inside them still can be the same. https://bugzilla.gnome.org/show_bug.cgi?id=775369
2016-11-30audioconvert: Don't call transform_ip() in passthrough modeSebastian Dröge1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=775369
2016-11-29multihandlesink: Fix buffers-queued being off by oneJan Alexander Steffens (heftig)1-2/+2
max_buffer_usage is the index of the oldest buffer in the queue, starting at zero, not the number of buffers queued. find_limits returns the index of the oldest buffer that satisfies the limits in its min_idx parameter, not the number of buffers needed. Fix this use too in order to keep passing the tests that read buffers-queued. https://bugzilla.gnome.org/show_bug.cgi?id=775351
2016-11-29multifdsink: Add a test involving a slow clientJan Alexander Steffens (heftig)1-2/+152
https://bugzilla.gnome.org/show_bug.cgi?id=774908
2016-11-29multihandlesink: Update bufpos in a separate passJan Alexander Steffens (heftig)1-14/+22
If a client gets dropped and the iteration gets restarted, bufpos is incremented again for all clients that preceded the dropped one, causing havoc. Adjust the bufpos for all clients first before trying to drop any. https://bugzilla.gnome.org/show_bug.cgi?id=774908
2016-11-29playbin: Fix caps memory leak in usage of gst_static_caps_get() APIGarima Gaur1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=775310
2016-11-28win32: update .def file for new audioconverter APITim-Philipp Müller1-0/+1
Fixes distcheck.
2016-11-29meson: Add headers and libm to has_function checksScott D Phillips1-6/+7
The functions from math.h may be implemented in libm. https://bugzilla.gnome.org/show_bug.cgi?id=774876
2016-11-28discoverer: Handle NULL/ANY/EMPTY caps without crashingSebastian Dröge1-3/+29
2016-11-28check/videorate: Avoid leaking extra buffersEdward Hervey1-0/+2
2016-11-28video-info: Properly initialize/set extra fieldsEdward Hervey1-3/+5
The flags and field order weren't properly initialized in the gst_video_info_init(). Furthermore in gst_video_info_from_caps() we might set unitiliazed values previously, this only sets them if valid.
2016-11-28sdp: Fix attribute leakEdward Hervey1-2/+2
We need to free the strdup'd string (to_free) in all cases
2016-11-28rtsp: Don't leak authorization stringEdward Hervey1-0/+2
2016-11-28audio-converter: optimize endian conversionPetr Kulhavy3-10/+241
Optimize LE<->BE conversion by adding a dedicated fast path instead of using the generic converter. Implement transform_ip function in order to do the endian swap in place. This saves buffer allocation for the intermediate format, can be done in place and also performs the conversion in one step instead of unpack-convert-pack. For all bit widths the naive algorithm is implemented, which provides the best performance when compiled with -O3. ORC was considered but eventually removed as it requires a dedicated function for in-place conversion (due to the "restrict" parameters). A more complex algorithm for the 24-bit conversion with unrolled loop and 32-bit processing is implemented in the #if 0 section. It performs better if compiled with -O2. With -O3 however the naive algorithm performs better. https://bugzilla.gnome.org/show_bug.cgi?id=773073
2016-11-28audio-convert: simplify the chain free processPetr Kulhavy1-29/+20
It is not needed to store a pointer to every single chain element to free it. Instead walk the channel list backwards and free the chain elements one by one. Rename GstAudioConverter->chain_pack to chain_end. https://bugzilla.gnome.org/show_bug.cgi?id=773073
2016-11-28subtitleoverlay: Fix caps memory leak when failing to get sinkpad from ↵Garima Gaur1-0/+2
subtitle renderer https://bugzilla.gnome.org/show_bug.cgi?id=775224
2016-11-28discoverer: Extract video information from caps manually without GstVideoInfoSebastian Dröge1-14/+41
The caps might not be fixated (which is required by GstVideoInfo) and we would assert otherwise. However the caps often contain useful information in the already-fixed parts that we can use here.
2016-11-28discoverer: Also stop waiting for subtitles if we get EOSSebastian Dröge1-1/+3
We're not going to get a buffer or GAP event anymore after EOS and would wait forever otherwise.
2016-11-26riff-media: Check if caps are NULL before using them for the first time, not ↵Sebastian Dröge1-4/+5
afterwards Otherwise we'll get a g_critical() before erroring out cleanly on https://samples.mplayerhq.hu/A-codecs/ATRAC3/SND0.AT3
2016-11-26common: use https protocol for common submoduleTim-Philipp Müller1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=775110
2016-11-25rtpbuffer: Fix ensure_buffers() if whole packet is in one GstMemoryMiguel Paris1-18/+29
When gst_rtp_buffer_add_extension_onebyte_header() is used over a GstRtpBuffer that only contains a memory for the whole packet, ensure_buffers function crashes at the next point: mem = gst_memory_copy (rtp->map[i].memory, offset, rtp->size[i]); when i==2 because the payload is not mapped. In addition the offset is calculated subtracting in the wrong direction. https://bugzilla.gnome.org/show_bug.cgi?id=774959
2016-11-24video-info: Add unit test for overflow checksSebastian Dröge2-0/+45
And also prevent overflows caused by allowing uint width/height in gst_video_info_set_format() but storing them as (signed!) ints.
2016-11-24video-info: And change the overflow check to not actually overflow itselfSebastian Dröge1-2/+2
2016-11-24video: Handle errors in gst_video_info_set_format() / gst_video_info_align()Sebastian Dröge6-11/+38
https://bugzilla.gnome.org/show_bug.cgi?id=774588
2016-11-24video-info: Sanity check the frame size to prevent overflowsSebastian Dröge2-12/+35
https://bugzilla.gnome.org/show_bug.cgi?id=774588