summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-09-10h265parse: Improve conditions for skipping NAL unitsSeungha Yang1-14/+36
See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Introduce new state tracking variablesSeungha Yang2-1/+33
Direct applying the commit 7bb6443. This could fix also unexpected nal dropping when nonzero "config-interval" is set. (e.g., gst-launch-1.0 videotestsrc ! x265enc key-int-max=30 ! h265parse config-interval=30 ! avdec_h265 ! videoconvert ! autovideosink) Similar to the h264parse, have_{vps,sps,pps} variables will be used for deciding on when to submit updated caps or not, and rather mean "have new SPS/PPS to be submitted?" See also https://bugzilla.gnome.org/show_bug.cgi?id=732203 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Fix and optimize NAL collection functionSeungha Yang1-3/+3
Adopt h264parse's _collect_nal() behavior. See also commit 5601c87 and https://bugzilla.gnome.org/show_bug.cgi?id=732154 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Unref/replace force_key_unit_event in gst_h265_parse_resetSeungha Yang1-1/+1
Apply the commit 36a2aca https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10h265parse: Copy over DISCONT flag from input buffersSeungha Yang2-0/+14
Apply the commit 10ffa08 https://bugzilla.gnome.org/show_bug.cgi?id=754124
2018-09-10watchdog: Add missing static keywordNicolas Dufresne1-4/+2
get/set_property method should have been static.
2018-09-11wasapi: Remove code that sets thread priorityNirbheek Chauhan6-84/+4
This is now handled directly in gstaudiosrc/sink, and we were setting it in the wrong thread anyway. prepare() is not the same thread as sink_write() or src_read().
2018-09-05meson: Don't pass GNU-like compiler wargs on MSVCNirbheek Chauhan1-3/+6
cl : Command line error D8021 : invalid numeric argument '/Wno-missing-include-dirs'
2018-09-05meson: Don't skip plugins that don't build with MSVCNirbheek Chauhan1-8/+2
We now have options for all plugins, so we will just disable these in the cerbero recipe instead. These require external deps, so they won't affect gst-build either.
2018-09-03timecodestamper: Fix typo in set_drop_frameVivia Nikolaidou1-1/+1
Was checking if fps_d == 60000 (instead of fps_n), causing 60000/1001 to be always falsely interpreted as non-drop-frame
2018-09-03player: Set default position and duration value to GST_CLOCK_TIME_NONEPhilippe Normand1-2/+2
When the position query fails the returned value shall remain -1 instead of 0 to avoid confusion on application side between error and beginning of media. https://bugzilla.gnome.org/show_bug.cgi?id=797066
2018-09-01meson: Fix applemedia dependencies on iOSNirbheek Chauhan1-4/+2
These were accidentally not being found because they were incorrectly specified.
2018-08-31meson: Maintain macOS ABI through dylib versioningNirbheek Chauhan15-1/+17
Requires Meson 0.48, but the feature will be ignored on older versions so it's safe to add it without bumping the requirement. Documentation: https://github.com/mesonbuild/meson/blob/master/docs/markdown/Reference-manual.md#shared_library
2018-08-31meson: add pkg-config file for the webrtc pluginMatthew Waters1-1/+2
2018-08-31androidmedia/meson: we also depend on gmodule and orcMatthew Waters1-1/+1
2018-08-31rtmpsink: Fix leak on connection failureSeungha Yang1-10/+20
Although RTMP_ConnectStream() was failed, librtmp's internal memory is not freed by RTMP_ConnectStream(), so RTMP_Close() should be called before RTMP_Free() https://bugzilla.gnome.org/show_bug.cgi?id=797058
2018-08-29kmssink: Add "restore-crtc" propertyDevarsh Thakkar2-2/+41
This adds "restore-crtc" property using which one can restore previous crtc mode. By default it is enabled, if CRTC was already active with a valid mode and kmssink set a new mode on CRTC using force-modesetting. This helps user restore previous crtc mode and get the previous session back after running a kmssink pipeline involving a force-modesetting. For e.g. When running a kmssink pipeline on rpi using force-modesetting on tty console, it was giving a blank screen after pipeline, and now with help of restore-crtc functionality, CRTC is set with previous crtc mode previously active on tty console. Edited-by: Nicolas Dufresne <nicolas.dufresne@collabora.com> https://bugzilla.gnome.org/show_bug.cgi?id=797025
2018-08-29kmssink: Document possible advance usageNicolas Dufresne1-0/+5
This adds a mention about modetest command line tool and adds an example on how to use the connector/plane-properties. https://bugzilla.gnome.org/show_bug.cgi?id=797027
2018-08-29kmssink: Escape DRM property namesNicolas Dufresne1-0/+6
This allow setting properties that contains spaces. The spaces are replaced with '-'. As an example, one can set the connector proper "scaling mode" with the following: ... ! kmssink connector-properties="s,scaling-mode=1" https://bugzilla.gnome.org/show_bug.cgi?id=797027
2018-08-29kmssink: Add 'plane-properties' propertyNicolas Dufresne2-1/+44
This is similar to 'connector-properties' but will change selected plane properties instead. https://bugzilla.gnome.org/show_bug.cgi?id=797027
2018-08-29kmssink: Generalize setting DRM object propertiesNicolas Dufresne1-9/+28
https://bugzilla.gnome.org/show_bug.cgi?id=797027
2018-08-29kmssink: add 'connector-properties' propGuillaume Desmottes2-0/+114
Can be used to pass custom connector properties to DRM. Properties can be enumerated using modetest tool. These properties can then be applied with the following gst-launch-1.0 syntax. Note that the name of the structure is ignored. ... ! kmssink connector-properties="s,props1=value,props2=value" https://bugzilla.gnome.org/show_bug.cgi?id=797027
2018-08-29meson: Add build files for androidmedia and openslesNirbheek Chauhan4-2/+74
Note that androidmedia requires Android gstgl
2018-08-28decklink: Only use drop-frame flag for 29.97 and 59.94 FPSVivia Nikolaidou1-4/+16
Otherwise it can cause errors in gstvideotimecode.c because drop-frame is not defined for any other frame rate (e.g. 24000/101) https://blog.frame.io/2017/07/17/timecode-and-frame-rates/ https://bugzilla.gnome.org/show_bug.cgi?id=797037
2018-08-28audiobuffersplit: Fix format string warningJohan Bjäreholt1-2/+2
We have a GST_DEBUG_OBJECT, which prints a guint64 with %lu which gave a compiler warning. Used G_GUINT64_FORMAT instead. https://bugzilla.gnome.org/show_bug.cgi?id=797036
2018-08-21kmssink: configure mode setting from video infoPhilipp Zabel1-16/+2
drmModeGetFB returns -EINVAL for multi-planar framebuffers. Instead of depending on the framebuffer dimensions to select the mode, use width and height from GstVideoInfo, which was used to create the framebuffer in the first place. This enables kmssink to display multi-planar formats such as I420 or NV12 with modesetting enabled. https://bugzilla.gnome.org/show_bug.cgi?id=796985
2018-08-19ksvideosrc: fix device enumeration when hotplugging a cameraJerome Laheurte1-4/+5
Since both audio and video capture devices declare the KSCATEGORY_CAPTURE interface, plugging a camera that supports both could result in an audio device being mistaken for a video one. https://bugzilla.gnome.org/show_bug.cgi?id=796958
2018-08-19meson: build musepack pluginTim-Philipp Müller3-1/+18
2018-08-19musepack: remove support for the 'old' APITim-Philipp Müller5-126/+1
2018-08-19freeverb: update for g_type_class_add_private() deprecationTim-Philipp Müller1-8/+5
Not that the private struct is really needed here.
2018-08-19meson: build neonhttpsrcTim-Philipp Müller3-2/+16
2018-08-18meson: add options to disable gobject cast checks and glib assertsTim-Philipp Müller2-0/+23
... and define G_DISABLE_DEPRECATED for development versions, like we do in autotools.
2018-08-17audiobuffersplit: Add a gapless mode which inserts silence/drops samples on ↵Sebastian Dröge2-11/+178
disconts The output is always a continguous stream without any gaps.
2018-08-17audiobuffersplit: Always set DISCONT flag after resyncsSebastian Dröge1-0/+4
2018-08-17audiobuffersplit: Keep track of resync time separatelySebastian Dröge2-5/+3
If we drain after a discont, the discont time given by the stream synchronizer is already the time after the discontinuity. But we need to drain all pending data based on the previous discont time instead.
2018-08-17audiobuffersplit: Update output buffer size after each buffer to compensate ↵Sebastian Dröge1-0/+7
for accumulated errors https://bugzilla.gnome.org/show_bug.cgi?id=796981
2018-08-17avwait: Start video and audio together if audio starts lateVivia Nikolaidou4-18/+110
Also add test to meson https://bugzilla.gnome.org/show_bug.cgi?id=796977
2018-08-17meson: host_system is 'ios' when building for iOSNirbheek Chauhan4-9/+9
The cross file sets this value, and we use 'ios' in Cerbero.
2018-08-17meson: Add an option for testsNirbheek Chauhan3-2/+6
This is needed because we don't always have gstreamer-check available, for instance inside Cerbero on iOS.
2018-08-16dashdemux: Always create the adapterNicolas Dufresne1-3/+1
Worst case it will be empty. This fixes a crash when the base class calls data_received() when the stream is neither is_isobmff or has_isoff_ondemand_profile. https://bugzilla.gnome.org/show_bug.cgi?id=796745
2018-08-16compositor: Define crossfade-ratio to have range [0.0,1.0]Sebastian Dröge1-10/+9
Previously negative values had the same effect as 0.0, which was confusing. https://bugzilla.gnome.org/show_bug.cgi?id=796845
2018-08-16curlhhtpsrc: avoid invalid memory referencesWim Taymans1-2/+3
gst_curl_http_src_remove_queue_item() can free qelement and then we get an invalid memory reference when we do qelement->next a couple of lines below. Take the next pointer earlier so that we can safely free.
2018-08-16rfbdecoder: don't free decoder dataWim Taymans1-3/+0
The decoder data is freed when we read more data.
2018-08-16videoaggregator: Make sure to hold object lock while iterating sink padsSebastian Dröge1-9/+19
They might otherwise just change while we iterate.
2018-08-15meson: Define HAVE_OSX on macOS and iOSNirbheek Chauhan1-6/+3
Needed by the shm, ladspa, and lv2 plugins. Same as Autotools.
2018-08-15meson: Fix shm librt dep check on macOS, iOS, and *BSDNirbheek Chauhan1-1/+1
2018-08-14makefile: opencv: Fix header names in noinst_HEADERSNicolas Dufresne1-2/+2
This should fix missing gstcameracalibrate.h and gstcameraundistort.h missing into generated tarballs.
2018-08-14meson: Add an option for the applemedia pluginNirbheek Chauhan2-12/+17
2018-08-14assrender: fix multiple subtitles on screen simultaneouslyMichael Drake2-68/+90
This fixes an issue with SSA/ASS subtitles, where subtitles would fail to appear if there was already a subtitle on screen. This was because `struct _GstAssRender` had a single `GstBuffer *subtitle_pending` member. This meant that the assrender context could only be aware of one subtitle at a time. This patch changes the subtitle_pending member to a linked list of pending subtitles. The `gst_ass_render_chain_text` function no longer needs to care about whether there are already subtitles pending, it simply appends new subtitles to the list. The `gst_ass_render_chain_video` function has been modified to handle the list of pending subtitles. Finally, the `gst_ass_render_pop_text` function has been modified to pop the entire list of pending subtitles. https://bugzilla.gnome.org/show_bug.cgi?id=735944
2018-08-14check: update gitignoreVíctor Manuel Jáquez Leal2-29/+13