summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-10multisocketsink: add GstNetworkMessage eventHEADmasterWim Taymans2-12/+83
Add a property and logic to send a GstNetworkMessage event containing the message that was received from a client. This can be used to implement simply bidirectional communication.
2015-12-10multisocketsink: add dispatched eventWim Taymans2-2/+26
Add a property and logic to send a GstNetworkMessageDispatched event upstream to notify that a buffer has been sent. This can be used to keep track of what client received what buffers.
2015-12-10socketsrc: handle GstNetworkMessage eventsWim Taymans2-0/+84
Add a property to handle GstNetworkMessage events. These events contain a buffer that is sent on the socket to allow for simple bidirectional communication.
2015-12-09audio-convert: improve converter APIWim Taymans3-33/+47
Improve the converter API to allow for an max input and output number of samples and return the number of consumed/produced samples.
2015-12-08appsrc: duration query support based on the size propertyPhilippe Normand1-0/+12
https://bugzilla.gnome.org/show_bug.cgi?id=759126
2015-12-07Automatic update of common submoduleNicolas Dufresne2-1/+5
From b319909 to 86e4663
2015-12-04multisocketsink: let downstream know we support metadataWim Taymans1-0/+15
Let downstream know that we support GstNetControlMessage metadata API.
2015-12-03videodecoder: Avoid pushing buffers before segment startEdward Hervey1-7/+7
In the case where the stream doesn't have a framerate set and the frames don't have a duration set, we still want to use the clipping path to make sure we don't push buffers outside of the segment. The problem was the previous iteration was setting a duration of 2s, which meant that any buffer which was less than 2s before the segment start would end up getting pushed. Instead, use a saner 40ms (25fps single frame duration) to figure out whether the frame could be within the segment or not
2015-12-02Drop usage of deprecated g-ir-scanner --strip-prefix flagReynaldo H. Verdejo Pinochet10-10/+20
2015-12-02decodebin2: fix "Attempt to unlock mutex that was not locked"Tim-Philipp Müller1-1/+2
Introduced in commit ee44337f, caused the decodebin test_text_plain_streams unit test to abort. https://bugzilla.gnome.org/show_bug.cgi?id=752651
2015-12-02playback: Expose XSUB formats by defaultEdward Hervey1-0/+1
This is a workaround, we should remove this once we have a proper decoder
2015-12-02discoverer: Also consider XSUB as a subtitle formatEdward Hervey1-1/+1
2015-12-02pbutils: Add description for XSUB subpicture formatEdward Hervey1-0/+1
2015-12-02riff: 'DXSA' is the same as 'DXSB'Edward Hervey1-0/+1
Which is subpicture/x-xsub
2015-12-02streamsynchronizer: Rename GstStream => GstSyncStreamEdward Hervey1-28/+28
Avoid clashes with future GstStream from core
2015-12-02rtspconnection: Update capitalization of x-sessioncookieEvan Callaway2-2/+2
Some servers incorrectly parse header names with strict case-sensitivity. For compatibility with these systems change X-Sessioncookie to x-sessioncookie. https://bugzilla.gnome.org/show_bug.cgi?id=758921
2015-12-02decodebin: Update buffering messages when removing an element that had ↵Sebastian Dröge1-2/+61
buffering pending Otherwise we'll remove that element while keeping its buffering message in our list, and because of that never ever report buffering 100% as that element will always be at a lower percentage. This fixes e.g. seeking over Period boundaries in DASH and various other issues when buffering happens between group switches. Also use a new mutex for protecting the buffering messages. The object lock is already used by gst_object_has_as_ancestor() and we need to use it now for checking if the buffering message sender has the to-be-removed element as ancestor.
2015-12-02multisocketsink: keep on reading when we stop sendingWim Taymans2-29/+44
When we stop sending because we need more data, still keep a GSource around to receive data from the clients. Also handle read and write in the same go.
2015-12-01audiobasesrc: Post latency message on the bus after set_caps()Sebastian Dröge1-0/+3
The latency is only known once the caps are known, and might change whenever the caps are changing. https://bugzilla.gnome.org/show_bug.cgi?id=758911
2015-12-01audiobasesink: Post latency message on the bus after set_caps()Michael Olbrich1-0/+3
Any latency query before this will not get the correct latency so a new latency query should be triggered once the audio sink know its own latency. Without this the initial latency query from the pipeline arrives too early sometimes and the resulting latency is too short. https://bugzilla.gnome.org/show_bug.cgi?id=758911
2015-12-01[PATCH] Fix a race condition accessing the decode_chain field.Thomas Bluemel1-16/+40
Make sure that any access to the GstDecodeBin's decode_chain field is protected using the EXPOSE_LOCK. Also add a simple reference counter to the GstDecodeChain structure so that when the type_found signal fires it can hold onto the decode chain even while the EXPOSE_LOCK is not held. This should fix a race condition if the type_found signal fires right in the middle of a state change that messes with the same decode chain. https://bugzilla.gnome.org/show_bug.cgi?id=755260
2015-12-01decodebin: early out on pad-added when the pad is inactiveVincent Penquerc'h1-0/+7
The pad may be recently deactivated if the element is switched back down very quickly. https://bugzilla.gnome.org/show_bug.cgi?id=752651
2015-12-01decodebin: lock the expose lock around decode_chain useVincent Penquerc'h1-8/+14
Helps with a crash in decodebin when quickly switching states. https://bugzilla.gnome.org/show_bug.cgi?id=752651
2015-12-01codec-utils: accept wrong version field in OpusHead headerLuis de Bethencourt1-2/+5
Some Opus files found on the wild have 0 in the version field of the OpusHead header, instead of the correct value of 1. The files still play, don't make this error fatal. https://bugzilla.gnome.org/show_bug.cgi?id=758754
2015-11-27allocators: add debug category for fd memory and allocatorWilliam Manley1-0/+5
Debugging can now be viewed by setting GST_DEBUG=fdmemory:9 https://bugzilla.gnome.org/show_bug.cgi?id=758744
2015-11-20tests: tags: add unit test for ID3v2 PRIVATE_DATA tag extractionTim-Philipp Müller1-0/+60
https://bugzilla.gnome.org/show_bug.cgi?id=730926
2015-11-20id3v2frames: Handle private framesRavi Kiran K N2-0/+48
Handle PRIV ID3 tag having owner information (string) and binary data, add to tag messages list. https://bugzilla.gnome.org/show_bug.cgi?id=730926
2015-11-20tags: id3: make sure to register private-id3v2-frame tag before using itTim-Philipp Müller1-0/+2
2015-11-18rtspconnection: Add support for parsing custom headersOgnyan Tonchev2-4/+73
https://bugzilla.gnome.org/show_bug.cgi?id=758235
2015-11-17Remove unnecessary NULL checks before g_free()Reynaldo H. Verdejo Pinochet5-46/+23
g_free() is NULL-safe
2015-11-17xvimagesink/ximagesink: Fix structure memory leakVineeth TM2-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=758204
2015-11-12codec-utils: guint8 can't hold value over 255Luis de Bethencourt1-2/+2
channels is a guint8, so the max value is 255 and checking if it value is > 256 will never be false. CID 1338687, CID 1338688
2015-11-12audio-converter: remove unneeded check for unsigned < 0Luis de Bethencourt1-1/+0
Commit ff6d1a2a25b247688f38e117782a6b43d525706a changed sample's type from gint to gsize (and renamed it to in_samples). gsize is an unsigned long, which means it can never be a negative value and the check making sure that in_samples is >= 0 is never going to be false. Removing it. CID 1338689
2015-11-11tests:video: Fix overlay rectangle and buffer leakVineeth TM1-0/+2
Created overlay rectangle is not being freed in video tests pix2 buffer is being created and not freed https://bugzilla.gnome.org/show_bug.cgi?id=757927
2015-11-11pbutils:encoding-target: Fix string memory leakVineeth TM1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=757926
2015-11-11audio-quantize: Fix dither_buffer memory leakVineeth TM1-0/+1
https://bugzilla.gnome.org/show_bug.cgi?id=757928
2015-11-11vorbisdec: Re-init on new capsJan Schmidt1-0/+29
If we get new input caps, then reset the decoder ready for new headers and fresh data. Makes chained oggs work when reusing the decoder.
2015-11-11videometa: add GstVideoAffineTransformationMetaMatthew Waters6-0/+241
Adds a simple 4x4 affine transformations meta for passing arbitrary transformations on buffers. Based on patch by Matthieu Bouron https://bugzilla.gnome.org/show_bug.cgi?id=731791
2015-11-10audio-converter: add output size argumentWim Taymans3-18/+24
Make it possible to have a different number of output samples than input samples when we, for example, want to add resampling later.
2015-11-07discoverer: Check API arguments and assert if neededThibault Saunier1-0/+11
2015-11-06decodebin: Properly deactivate ghostpadsEdward Hervey1-1/+1
Just setting the ghostpad as flushing wasn't enough. It needs to be consistent on the internal proxypad also, otherwise you end up in situations where: * a pending buffer on the target pad triggers the sticky event propagation * the default implementation sees that the proxypad is not flushing, so it tries to push it to the other pad (the actual ghostpad) * the ghostpad is flushing, so returns FALSE * the push_event function sees that pushing the event failed... * ... and pending buffer push returns GST_FLOW_ERROR, instead of GST_FLOW_FLUSHING By using gst_pad_set_active(FALSE), we ensure that both the ghostpad and the proxypad are flushing/deactivated. The situation above will no longer occur, and a GST_FLOW_FLUSHING will be returned.
2015-11-06audioconvert: fix buildTim-Philipp Müller4-842/+0
Don't include file that is no longer generated, and remove some files that are no longer needed because they have moved into the lib. Fixes distcheck.
2015-11-06audio-converter: require interleaved samples and no resamplingWim Taymans1-0/+3
We can't yet do resampling or anything other than interleaved audio.
2015-11-06audio: update ORC dist filesWim Taymans2-0/+312
2015-11-06audio-converter: move audio converter to audio libsWim Taymans10-23/+32
Move the audio-converter helper to the audio library.
2015-11-06audio-channel-mix: move channel mixer to audio libsWim Taymans9-9/+12
Move the channel mixer code to the audio library
2015-11-06audio: add debug categoriesWim Taymans6-0/+114
2015-11-06channelmix: don't limit channelpositionsWim Taymans2-8/+9
Don't set a limit on the channel positions, just like the metadata.
2015-11-06channelmix: simplify API a littleWim Taymans3-92/+102
Remove the format and layout from the mix_samples function and use the format when creating the channel mixer object. Also use a flag to handle the unlikely case of non-interleaved samples like we do elsewhere.
2015-11-06channelmix: GstChannel -> GstAudioChannelWim Taymans3-122/+136
Rename GstChannel to GstAudioChannel