summaryrefslogtreecommitdiff
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* gtksink: Do not re destroy the GtkWindow if destroyed by the userThibault Saunier2015-09-211-1/+8
| | | | | | Otherwise we will get an ASSERT. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=755249
* gtkglsink: Hide and clean the GtkWindow we might createThibault Saunier2015-09-193-8/+24
| | | | | | When stopping the sink we should always hide the window. https://bugzilla.gnome.org/show_bug.cgi?id=755249
* adaptivedemux: prefix the statistics message name macroPhilippe Normand2015-09-171-1/+1
| | | | | | Keep old define around for now. https://bugzilla.gnome.org/show_bug.cgi?id=754686
* Don't throw compiler warnings with G_DISABLE_ASSERTJan Schmidt2015-09-183-4/+28
| | | | | Disable code that warns about unused variables when G_DISABLE_ASSERT is defined, as it is in tarballs and pre-releases.
* glimagesink: request a resize on caps/3d mode changesMatthew Waters2015-09-171-33/+20
| | | | | | | Fixes incorrect aspect ratio on OSX when changing caps or the 3d output mode. https://bugzilla.gnome.org/show_bug.cgi?id=755111
* gl/uploadelement: fail earlier if we could not upload the bufferMatthew Waters2015-09-171-3/+10
|
* gl: Fix GError leaks during failuresVineeth T M2015-09-174-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755140
* mpdparser: support for negative repeat count in segmentsVincent Penquerc'h2015-09-161-18/+87
| | | | Implements negative repeat segment fields, defined in 5.3.9.6.1.
* mpdparser: properly read signed r values for S elementsVincent Penquerc'h2015-09-162-2/+34
| | | | | | | | | The spec defines these as signed in 5.3.9.6.1. Since we don't support this behavior, warn and default to 0 (non repeating), which is the spec's default when the value is not present. https://bugzilla.gnome.org/show_bug.cgi?id=752480
* mdpparser: catch failures to parseVincent Penquerc'h2015-09-161-5/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752480
* glimagesink: avoid updating the viewport in the draw loopMatthew Waters2015-09-162-11/+10
| | | | Fixes flashes/incorrect aspect ratio when resizing glimagesink on OSX.
* opusdec: remove check for number of channelsThiago Santos2015-09-151-6/+0
| | | | | | | | opus decoder can convert from different number of channels, no need to check, just let it negotiate and create a new decoder if needed. https://bugzilla.gnome.org/show_bug.cgi?id=755059
* dashdemux: fix return when trying to advance in subfragmented streamThiago Santos2015-09-151-2/+5
| | | | | | | | | Even if it doesn't actually advance the subfragment in the default way for streams that have subfragments, it can help the base class to return EOS when there is no more fragments instead of signaling it that it should continue downloading. https://bugzilla.gnome.org/show_bug.cgi?id=755042
* pitch: Set seqnum on newly created segment eventThibault Saunier2015-09-151-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755012
* mpdparser: Don't consider period start times in periods with segment lists ↵Sebastian Dröge2015-09-141-7/+6
| | | | | | either https://bugzilla.gnome.org/show_bug.cgi?id=754222
* dashdemux: Export the period start time to the base classSebastian Dröge2015-09-143-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754222
* Revert "dashdemux: Subtract the period start time from the presentation offset"Sebastian Dröge2015-09-141-5/+1
| | | | | | | | | | This reverts commit 626a8f0a74f8ea748b811b74ba9e7ae2baea2cca. This allows us to get the plain presentation offset and the period start time separately. We have to adjust the timestamp by the presentation offset, but the period start time should only adjust the stream time and running time. https://bugzilla.gnome.org/show_bug.cgi?id=752409
* Revert "dashdemux: Include the period start in the fragment timestamps in ↵Sebastian Dröge2015-09-141-6/+2
| | | | | | | | | | | | | | | all cases" This reverts commit e671ad25a989cb21c62c7a5867c2090890ce49ba. The timestamps should restart at 0 again for each period, but we have to adjust the segment to map those timestamps to the actual stream time and running time of that period. Otherwise we would have timestamps that conflict with the ones from the tfdt inside the MP4 container, which are restarting at 0 for each period. https://bugzilla.gnome.org/show_bug.cgi?id=752409
* mpdparser: Consider the repeat count when checking if a segment is the last oneSebastian Dröge2015-09-141-1/+10
| | | | | | Otherwise we play only the first repetition of the last segment and then EOS. https://bugzilla.gnome.org/show_bug.cgi?id=752480
* dashdemux: also check for subfragments on has_next_fragmentThiago Santos2015-09-141-0/+23
| | | | | | In dash isombff profile the fragment is split into subframents where bitrate switching is possible. Also take that into consideration when checking if a stream has next fragments.
* opusenc: improve deprecated properties docsMiguel París Díaz2015-09-111-12/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754819
* opusenc: do not throw g_warning when getting deprecated propertiesMiguel París Díaz2015-09-111-3/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=754819
* gtk, qt: more specifically define the compile time requirementsMatthew Waters2015-09-102-8/+8
| | | | | | | Otherwise we could include headers/configurations that will never been installed. https://bugzilla.gnome.org/show_bug.cgi?id=754732
* qt: use our function table instead of directly calling gl functionsMatthew Waters2015-09-101-2/+5
| | | | | | | Otherwise when building with --as-needed we would need to link to a GL or GLES library. https://bugzilla.gnome.org/show_bug.cgi?id=754732
* mpdparser: fix period start time scalingVincent Penquerc'h2015-09-071-1/+6
| | | | | | | | | | This GstStreamPeriod start value is expressed in nanoseconds, and the glib time addition function expects microseconds. There seems to have been a confusion with GstPeriodNode's start field, which is expressed in milliseconds. Additionally, add a warning if the timestamp modification did not succeed, and NULL was returned.
* faac: Add bitrate info to the tags output.Jan Schmidt2015-09-051-0/+18
| | | | | Makes it possible for muxers to know the target bitrate as soon as encoding starts, which flvmux now uses.