summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* openjpegdec: Don't crash when decoding returns NULL data for any componentSebastian Dröge2015-12-181-0/+9
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758943
* gltransformation: clear to transparentMatthew Waters2015-12-121-1/+1
| | | | | Otherwise composition will result in a black frame outside the transformed video.
* openjpegenc: All frames in JPEG2000 are keyframes, mark them as suchSebastian Dröge2015-12-081-0/+1
|
* qml: reuse existing GstQSGTextureRoman Nowicki2015-11-201-4/+2
| | | | | | Fixes a memory leak leaking the texture objects. https://bugzilla.gnome.org/show_bug.cgi?id=758286
* qml: activate the wrapped context when bindingMatthew Waters2015-11-201-4/+9
| | | | | | Mitigates the following critical gst_gl_context_thread_add: assertion 'context->priv->active_thread == g_thread_self ()' failed
* qml: proper initialization if scene is already initializedRoman Nowicki2015-11-201-1/+5
| | | | | | | | The scene graph can be initialized when the we receive window handle change notification and so we will not receive a scenegraph initialization notification. Initialize ourself in this case. https://bugzilla.gnome.org/show_bug.cgi?id=758337
* glimagesink: Fix structure memory leakVineeth TM2015-11-171-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758205
* gtk: add the overlaycomposition feature to the template capsMatthew Waters2015-11-101-2/+5
| | | | | | | | There is a possibility that the _get_caps impl will be called with the feature in the filter caps which when interecting with the template, will return EMPTY and therefore fail negotiation. https://bugzilla.gnome.org/show_bug.cgi?id=757854
* assrender: don't send flush events on seeksTim-Philipp Müller2015-11-071-45/+7
| | | | | | | | | | It's for the upstream element driving the pipeline to handle seeks and send flush events or not, filters should not interfere here, otherwise downstream pads could be flushing before upstream pads are flushing, which can result in GST_FLOW_ERROR being sent instead of GST_FLOW_FLUSHING when trying to forward sticky events at just the wrong moment.
* opusenc: Place 48kHz first in the capsSebastian Dröge2015-11-031-1/+6
| | | | For all the other sample rates the encoder will have to resample internally.
* opusdec: Assume 48kHz if no sample rate is given in the headerSebastian Dröge2015-11-031-0/+2
|
* waylandsink: don't advertise the local wl_display contextGeorge Kiagiadakis2015-10-261-6/+0
| | | | | | | | | | | | | | | | This wl_display proxy is temporary only until waylandsink goes NULL, at which point the connection to the display is disposed. Unfortunately, if this is advertised as a GstContext, playbin will cache it and re-feed it to the sink when it goes PLAYING again, but the wl_display pointer will at that point be invalid and cause a crash. Another solution to the problem would be to also cache the GstWlDisplay object inside the GstContext, which would automatically ref-count the display connection, but I see no reason in doing that at the moment, as there are no known users of this GstContext outside waylandsink. It's probably better to avoid chasing hidden refcounts. https://bugzilla.gnome.org/show_bug.cgi?id=756567
* hlsdemux: don't crash or leak memory on broken master playlistAndré Draszik2015-10-251-3/+4
| | | | | | | | | | | | | | | | | If a (master) playlist contains a variant list entry without a URI then during parsing of the next variant list entry we are a) leaking the entry we're currently parsing (new_list), and b) free'ing the pointer to the previous list entry (list) without updating the pointer. Hence when then adding the URI for the latest parsed entry, incorrect information is stored, as the information is used from 'list' which is not valid memory anymore, also leading to crashes. Fix this by correctly storing the new variant list entry pointer as needed. https://bugzilla.gnome.org/show_bug.cgi?id=756861
* srtp: Fix critical warning trying to retrieve SSRC from a non fb messageSantiago Carot-Nemesio2015-10-231-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756876
* srtpdec: skip padding when mapping RTP packetsMiguel París Díaz2015-10-201-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756653
* mpdparser: Set default last_byte_pos to -1Sebastian Dröge2015-10-201-1/+1
| | | | | | | The value is optional in the range, and if it is absent it means we should download until the end of stream. Not until position 0. https://bugzilla.gnome.org/show_bug.cgi?id=748316
* hls/m3u8: Update current position in all casesEdward Hervey2015-10-202-15/+25
| | | | | | | | | | In order to ensure the sequence_position will always be consistently updated, store the current file duration. This way, when we advance, we can always increment the position based on what was previously outputted. https://bugzilla.gnome.org/show_bug.cgi?id=752132
* gtk: separate out the widget/window destroy callbacksMatthew Waters2015-10-191-7/+10
| | | | | | | Fixes assertion due to the sink_finalize() being run before the widget destroy callback. https://bugzilla.gnome.org/show_bug.cgi?id=755969
* dtls: Fix name conflict with openssl on win32Paul Arzelier2015-10-171-0/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756592
* hlsdemux: Avoid negative sequence numbersEdward Hervey2015-10-151-4/+12
| | | | | | | | | | | | | | | For live streams, we want to make sure there's a certain distance between the sequence to play and the last (earliest) fragment. The problem is that it assumes there are at least 3 fragments in the playlist, which might not always be the case (like in the case of a server restarting and gradually adding fragments). In order to avoid ending up with negative sequence numbers (which will just loop forever), limit the new target sequence number to the highest of: * either the first sequence number of the playlist (fallback) * or 3 fragments from the last one (standard behaviour)
* dashdemux: fix undefined reference to gst_ntp_clock_newJulien Isorce2015-10-111-1/+1
| | | | | | Found with gst-inspect-1.0 -b in gst-uninstalled env. https://bugzilla.gnome.org/show_bug.cgi?id=756383
* glvideomixer: Proxy the ignore-eos videoaggregator property as wellNirbheek Chauhan2015-10-071-0/+7
| | | | Identical to how the z-order property is proxied
* dashdemux: fixed has_next_periodFlorin Apostol2015-10-071-0/+8
| | | | | | | gst_mpd_client_has_next_period now calls gst_mpd_client_setup_media_presentation to refresh the period information. https://bugzilla.gnome.org/show_bug.cgi?id=756186
* rtmpsrc: plug memory-leaksHavard Graff2015-10-051-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=756001
* dtls: fix printf format on win32Polochon_street2015-10-051-1/+1
|
* dtls: fix printf format on win32Paul Arzelier2015-10-051-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755981
* dashdemux: Correctly assign earliest pts instead of overriding it with first ↵John Chang2015-10-051-1/+1
| | | | | | offset https://bugzilla.gnome.org/show_bug.cgi?id=755824
* dashdemux: Implement lazy-loading of external periodsSebastian Dröge2015-10-023-9/+58
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Load OnLoad external resources immediately instead of on demandSebastian Dröge2015-10-021-0/+172
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Add support for loading external SegmentListsSebastian Dröge2015-10-021-9/+143
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Add support for loading external AdaptationSetsSebastian Dröge2015-10-021-3/+149
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Implement loading of external Period nodesSebastian Dröge2015-10-021-13/+190
| | | | | | | | | | | The same has to be done for AdaptationSet and SegmentList nodes still. Also this does not correctly implement the semantics: by default Period (and other nodes) should only be loaded when needed, not in the very beginning. We need to implement lazy loading for them, which means adjusting gst_mpd_client_setup_media_presentation(). https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Store an URI downloader in the parser for downloading additional ↵Sebastian Dröge2015-10-023-0/+21
| | | | | | MPD resources if needed https://bugzilla.gnome.org/show_bug.cgi?id=752230
* mpdparser: Parse xlink attributes from Period, AdaptationSet and SegmentListSebastian Dröge2015-10-022-0/+78
| | | | | | | We still have to do something useful with them, like actually loading the content behind the URL. https://bugzilla.gnome.org/show_bug.cgi?id=752230
* dashdemux: Properly handle relative and non-HTTP URIs for the headers/indicesSebastian Dröge2015-10-021-7/+3
| | | | | | | gst_uri_join_strings() will return the second parameter if it is an absolute URI. No need to do a (wrong) check if the URI is absolute or not beforehand. https://bugzilla.gnome.org/show_bug.cgi?id=755134
* mpdparser: If no Initialization is present in the SegmentBase, assume it is ↵Sebastian Dröge2015-10-021-26/+26
| | | | | | before the indexRange https://bugzilla.gnome.org/show_bug.cgi?id=755132
* mssdemux: activate streams before configuring bitratePhilippe Normand2015-09-301-6/+15
| | | | | | | | Doing the contrary has no effect and the consequence is that playback will start with the lowest bitrate even if we can already handle higher bitrate. https://bugzilla.gnome.org/show_bug.cgi?id=755108
* mssdemux: always use timescale for gst timestamp calculationPhilippe Normand2015-09-301-6/+5
| | | | | | | | | Not doing this can lead the demuxer to attempt downloading fragments for an invalid start time. The server would then send a HTTP Precondition failed error, the demuxer would try some more times to download the invalid fragment and eventually error out. https://bugzilla.gnome.org/show_bug.cgi?id=754523
* assrender: fix leak of tag samples in the tag listArnaud Vrac2015-09-291-48/+60
| | | | | | | | Move handling of a GstSample in a separate function, and unref the sample after calling it. libass copies the font data so we don't need to keep it around. https://bugzilla.gnome.org/show_bug.cgi?id=755759
* assrender: fix gap event leak and invalid return valueArnaud Vrac2015-09-291-0/+3
| | | | | | We don't want the gap event to be forwarded https://bugzilla.gnome.org/show_bug.cgi?id=755759
* gtk: fix assertion when the element has no peerMatthew Waters2015-09-291-3/+5
| | | | | | | When proxying keyboard/navigation/mouse events, only unref a successfully retreived peer pad. https://bugzilla.gnome.org/show_bug.cgi?id=755738
* resindvd: Send gap updates to the segment stop during stillsJan Schmidt2015-09-271-10/+15
| | | | | | | | | Ignore the normal gap threshold for laggy streams and immediately catch all streams up to the end of the segment when processing gap updates for a segment during a still frame sequence. https://bugzilla.gnome.org/show_bug.cgi?id=755680
* gtk: Only run from the main thread in stop() if we created the windowSebastian Dröge2015-09-241-2/+7
| | | | We're not doing anything at all from the main thread in other cases.
* gtk: When setting format check if pending format changedThibault Saunier2015-09-241-1/+1
| | | | | | | | | In case the format changed fast and the pending format is different than the currently set but the currently set is equal to the pending one we could end up having mismatch between the finally set format and the data stream format. https://bugzilla.gnome.org/show_bug.cgi?id=755542
* gtk: Do not forget to release OBJECT_LOCK on error pathThibault Saunier2015-09-241-4/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755542
* gtk: Factor out a function to run a function on main threadThibault Saunier2015-09-245-103/+114
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755251
* gtk: Marshall state changes in the main threadThibault Saunier2015-09-241-7/+90
| | | | | | | Gtk is not MT safe thus we need to make sure that everything is done in the main thread when working with it. https://bugzilla.gnome.org/show_bug.cgi?id=755251
* gtksink: Do not show window until we reach the PAUSED stateThibault Saunier2015-09-231-1/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755459
* mpdparser: Only check stream->segments for a repeated last segment if we ↵Sebastian Dröge2015-09-221-1/+2
| | | | | | | | | | | have a static list of segments Otherwise we'll crash, trying to derefence NULL. And if we have no static list of segments, we can't have repeated segments anyway. Regression introduced by cfe2871a5e3c5b1db20470927642b776e055a87a https://bugzilla.gnome.org/show_bug.cgi?id=755411
* x265enc: Drop incorrect stream-format="avc" in template capsArun Raghavan2015-09-211-1/+1
|