summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-02-01glmemory: fixup GL_RGB565 usage when performing texsubimageMatthew Waters1-2/+4
An additional change for the texsubimage use case on top of https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=c2b2c68beaddbea0ec4fe7b099507cc492f6dd7c https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=ea6bed111bab9b394d787f7760c6a3b953630d3a https://bugzilla.gnome.org/show_bug.cgi?id=783066 https://bugzilla.gnome.org/show_bug.cgi?id=792584
2018-02-01pkgconfig: only install gstreamer-gl-1.0.pc if OpenGL support was builtTim-Philipp Müller1-2/+5
https://bugzilla.gnome.org/show_bug.cgi?id=793039
2018-02-01oggdemux: Handle invalid-sized packetsEdward Hervey1-1/+9
On invalid packets there is the possibility we might end up wanting to trim/offset more than what is available. oss-fuzz issue #5866
2018-01-30meson: use -fno-strict-aliasing if supportedTim-Philipp Müller1-0/+5
https://bugzilla.gnome.org/show_bug.cgi?id=769183
2018-01-30meson: use built-in pic kwarg when building static helper libsTim-Philipp Müller2-12/+6
instead of passing -fPIC manually.
2018-01-30glimagesink: Allow resetting render rectangleNicolas Dufresne2-5/+9
As documented, passing -1 to x and/or y should reset the render rectangle to the window/display size. https://bugzilla.gnome.org/show_bug.cgi?id=792798
2018-01-30glimagesink: Add render-rectangle propertyNicolas Dufresne1-4/+13
This allow controlling the render rectangle from gst-launch-1.0. https://bugzilla.gnome.org/show_bug.cgi?id=792798
2018-01-29xvimagesink: Allow changing render-rectangle through propertyNicolas Dufresne2-3/+26
This also enables setting the render rectangle before the window is provided or created. https://bugzilla.gnome.org/show_bug.cgi?id=792798
2018-01-29video-overlay: Add helpers for render-rectangle propertyNicolas Dufresne2-0/+104
This is a set of helper that makes it easy to enable the render rectangle to be controllable through a property. https://bugzilla.gnome.org/show_bug.cgi?id=792798
2018-01-29video: Add NV16_10LE32 supportNicolas Dufresne4-1/+167
This adds a 10 bit variant for NV16 packed into 32 bits little endian words. The MSB 2 bits are padding. This format is used on Xilinx SoC and identified with the FOURCC XV20. https://bugzilla.gnome.org/show_bug.cgi?id=789876
2018-01-29video: Add GRAY10_LE32 supportNicolas Dufresne4-1/+92
This add a 10bit variant of gray scale packed into 32bits little endian words. The MSB 2 bits are padding and should be ignored. This format is used on Xilinx SoC and is identified with the FOURCC XV10. https://bugzilla.gnome.org/show_bug.cgi?id=789876
2018-01-29video: Add NV12_10LE32 supportNicolas Dufresne4-1/+176
This adds a 10bit variant for NV12 which packs 3 10bit components into little endian 32bit words. The MSB 2 bits are padding and should be ignored. This format is used on Xilinx SoC and is identified with there with the FOURCC XV15 https://bugzilla.gnome.org/show_bug.cgi?id=789876
2018-01-25subparse: fix pushing out of last chunk if last line has no newlineTim-Philipp Müller1-2/+5
With playbin the last subtitle chunk would not get displayed if the last chunk was missing a newline at the end. This is because streamsynchronizer will hold back the EOS event until the audio and video streams are finished too, so subparse would never forcefully push out the last chunk until the very end when it is too late. We get a STREAM_GROUP_DONE event from streamsynchronizer however, so handle that like EOS and force out any remaining text then. https://bugzilla.gnome.org/show_bug.cgi?id=771853
2018-01-24gst-plugins-base.supp: add gl suppressions for one off init allocationsVincent Penquerc'h1-0/+52
Add to valgrind suppressions file. https://bugzilla.gnome.org/show_bug.cgi?id=781021
2018-01-23Update for renamed aggregator pad APITim-Philipp Müller1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=791204
2018-01-22alsasrc: lock calls to snd_pcm_delay() with mutex as in alsasinkBranislav Katreniak2-1/+14
Alsasrc introduced delay_lock in commit 519f85a43e73efb8f3fb2c7be45226e because alsa-lib is not thread safe for the same handle. Alsasrc uses the same threading pattern, it should be locked too. https://bugzilla.gnome.org/show_bug.cgi?id=746015
2018-01-19tag: id3v2: don't leak stack pointer outside of block where it's validTim-Philipp Müller1-0/+2
https://bugzilla.gnome.org/show_bug.cgi?id=788548
2018-01-19tests: audioconvert: fix up check for lost channel positionsTim-Philipp Müller1-2/+2
The caps field is channel-mask these days, so that code path was never active.
2018-01-19tests: audioconvert: Fix memory leak in failure pathJimmy Ohn1-2/+3
Don't set a bad example by leaking things, even if calling g_error() will make the process abort. https://bugzilla.gnome.org/show_bug.cgi?id=783418
2018-01-17theoradec: Check for valid width/heightEdward Hervey1-0/+10
If width or height are zero ... there's no video :)
2018-01-17playback-utils: Fix caps leak on failureAshish Kumar1-0/+4
https://bugzilla.gnome.org/show_bug.cgi?id=789358
2018-01-16tests: fix build on Windows with MSVCTim-Philipp Müller2-1/+8
2018-01-16meson: tests: fix build of tcp test on unixTim-Philipp Müller1-1/+1
Need to add gio-unix-2.0 dep to pipelines/tcp test otherwise it won't find the gio/gunixfdmessage.h header which is not in the same dir as the other gio headers. This issue was masked before because we didn't include config.h so HAVE_GIO_UNIX_2_0 wasn't defined.
2018-01-16meson: tests: skip allocators dmabuf test on non-LinuxTim-Philipp Müller1-1/+1
2018-01-16tests: include config.h and don't include unix headersTim-Philipp Müller36-40/+95
In many cases the unistd.h includes weren't actually needed. Don't build tests that need it on windows with MSVC (multifdsink, multisocketsink, pipelines/tcp). Preparation for making tests work on Windows with MSVC.
2018-01-16meson: gl: fix build on windowsRoland Peffer1-0/+3
https://bugzilla.gnome.org/show_bug.cgi?id=791772
2018-01-16meson: fix check whether both gles2 and opengl headers can be includedTim-Philipp Müller1-1/+3
cc.compiles() doesn't support the prefix: kwarg currently, so it never had any effect. https://github.com/mesonbuild/meson/issues/2364 https://bugzilla.gnome.org/show_bug.cgi?id=787964
2018-01-12videotestsrc: Document the num-buffers propertySam Thursfield1-0/+4
It's not obvious from the existing docs that this option exists, nor that it can be used to give a pipeline an exact length in video frames. https://bugzilla.gnome.org/show_bug.cgi?id=777647
2018-01-08examples: playback: don't use deprecated font button APITim-Philipp Müller1-2/+3
playback-test.c:2587:3: error: "gtk_font_button_get_font_name" is deprecated
2018-01-04gl/wayland: move roundtrip on show to window threadMatthew Waters2-9/+38
This makes it thread safe and fixes a possible deadlock. Keeping the roundtrip off the window thread will result in two different threads call wl_display_dispatch_queue() for the same queue which violates the assumption for _dispatch_queue()'s thread-safety guarantees. https://bugzilla.gnome.org/show_bug.cgi?id=788754 https://bugzilla.gnome.org/show_bug.cgi?id=792156 https://bugzilla.gnome.org/show_bug.cgi?id=758984
2018-01-03typefind: Fix mp3 typefinding with multiple different headersEdward Hervey1-5/+6
(yes, this has never worked since it was introduced, don't worry) If we want to actually detect layer/channels/samplerate changes, it would be better to: * not reset the various prev_* variables at every iteration. * and actually store the values when they change CID #206079 CID #206080 CID #206081
2018-01-03libs/glheaders: move object creation to the gl thread where necessaryMatthew Waters1-7/+6
Some GL platforms (EGL, WGL) require deactivating the OpenGL context in one thread before it can be used in another thread which this test currently violates and would e.g. result in EGL_BAD_ACCESS errors from gst_gl_context_activate(). Fix by moving the object creation into the GL thread instead and not requiring additional gst_gl_context_activate() calls. https://bugzilla.gnome.org/show_bug.cgi?id=792158
2018-01-03tests/glheaders: use #if for platform selectionMatthew Waters1-1/+1
GST_GL_HAVE_* are always defined to 0 or 1 so an #ifdef will always succeed which is not the intention here.
2018-01-03glcolorconvert: re-enable -Wformat-nonliteral warningTim-Philipp Müller2-78/+99
We can pass string constants here to g_strdup_printf(), so do so and re-enable the -Wformat-nonliteral warning we had to disable when merging the opengl libs.
2018-01-03glcolorconvert: fix missing printf arg for apple rectangular texture caseTim-Philipp Müller1-1/+1
Found by -Wformat-nonliteral (to be re-enabled in a separate commit).
2018-01-03configure: Fix build without gl pluginsEdward Hervey2-4/+3
The AM_CONDITIONAL always need to be evaluated, regardless of whether we are building with or without gl plugins (the actual checks are only called in AG_GST_GL_PLUGIN_CHECKS).
2017-12-30gl: cocoa: fix formatting for function definitionPhilippe Normand1-2/+2
This is a follow-up of 5d35e1fa15744b48c406fffa98695478fc8c9969
2017-12-30gl: cocoa: Implement set_render_rectanglePhilippe Normand1-2/+71
Resize the internal NSView according to the provided render rectangle. https://bugzilla.gnome.org/show_bug.cgi?id=791445
2017-12-26gl: don't link to system gstallocatorsTim-Philipp Müller1-1/+0
We already link to the in-tree gstallocators, no need to link to it again here, which also ends up being the system gstallocators lib. https://bugzilla.gnome.org/show_bug.cgi?id=791956
2017-12-26meson: skip translations if gettext is not availableTim-Philipp Müller1-1/+5
2017-12-22meson: gl: define HAVE_PNG etc. in config.h instead of c_argsTim-Philipp Müller2-6/+5
So that the tests have access to them as well (gl-launch-lines.c)
2017-12-21rtp: fix gst_rtp_buffer_ext_timestamp taking into account backwardsMiguel Paris3-15/+128
If timestamp goes forwards more than allowed, we consider that the timestamp belongs to the previous counting, so the extended timestamp is unwrapped. https://bugzilla.gnome.org/show_bug.cgi?id=783443
2017-12-21tests: add missing commaMathieu Duponchelle1-1/+1
2017-12-21tests: conditionally define the glimagesink test as wellMathieu Duponchelle1-1/+1
Forgotten in previous commit
2017-12-21tests: fix build when not building gstglMathieu Duponchelle1-10/+15
gstgl_dep is only defined when build_gstgl is true
2017-12-20meson: docs: link gtk-doc scanner with gstglTim-Philipp Müller1-1/+9
2017-12-20gl: fix build if libjpeg is not availableTim-Philipp Müller1-1/+0
If libjpeg is not available, leave HAVE_JPEG undefined in config.h, instead of defining it to 0. Fixes mismatch between autotools conditional and ifdefs in the code.
2017-12-20audioaggregator: Don't leak padsEdward Hervey1-1/+3
all audioaggregator subclasses were leaking the first sink pad :)
2017-12-19audioaggregator: implement input conversionMathieu Duponchelle6-447/+857
https://bugzilla.gnome.org/show_bug.cgi?id=786344
2017-12-19gl: fix up a few more #if HAVE_FOOTim-Philipp Müller5-8/+8
error: "HAVE_PNG" is not defined, evaluates to 0 [-Werror=undef]