summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-07h264parse: make caps writable before modifying themTim-Philipp Müller1-2/+4
https://bugzilla.gnome.org/show_bug.cgi?id=790628
2017-12-07srt: Post error message for NULL hostSeungha Yang1-0/+6
... instead of crash without any information https://bugzilla.gnome.org/show_bug.cgi?id=791329
2017-12-06waylandsink: Fix memory leak of shm allocatorNicolas Dufresne1-1/+1
This fixes conflict resolution error introduced in commit: 816d115317c522c87297109de781c63b16146493 http://bugzilla.gnome.org/show_bug.cgi?id=790042
2017-12-06waylandsink: Fix memory leak of shm allocator.Shinya Saito2-3/+12
gst_allocator_find() needs gst_object_unref() after usage. https://bugzilla.gnome.org/show_bug.cgi?id=790042
2017-12-06dashdemux: fix coredump issue with external AdaptationSetJun Xie1-4/+4
fix wrong AdaptationSet list iterator https://bugzilla.gnome.org/show_bug.cgi?id=790812
2017-12-06m3u8: Parse and use AVERAGE-BANDWIDTH attribute if availableHosang Lee1-1/+8
The AVERAGE-BANDWIDTH attribute in the EXT-X-STREAM-INF tag represents the average segment bit rate of the Variant Stream, while the BANDWIDTH attribute represents the peak segment bit rate of the Variant Stream. (https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.4.2) Using the average bit rate instead of the peak bit rate for variant switching is more efficient and appropriate. Sometimes due to VBR encoding, the BANDWIDTH may represent a value way above the average bit rate, which could result to players not switching to that variant stream although network bandwidth is sufficiently available. https://bugzilla.gnome.org/show_bug.cgi?id=790821
2017-12-06examples: audiomixmatrix: Remove unused partWonchul Lee2-62/+1
matrix-value-array property is removed since 18917de9562d0d33cf80ca68c071eee3572d4483 commit applied https://bugzilla.gnome.org/show_bug.cgi?id=790836
2017-12-06kmssink: Fix CropMeta supportNicolas Dufresne1-2/+12
We copy the meta's from the original buffer to the wrapper or copied buffer. https://bugzilla.gnome.org/show_bug.cgi?id=790473
2017-12-06kmssink: Enforce pixel aspect ratio when we cannot scaleNicolas Dufresne1-46/+58
When we cannot scale, we need to enforce the pixel aspect ratio. This was partly implemented in the previous patch. Doing this simplify some of the code. https://bugzilla.gnome.org/show_bug.cgi?id=784599
2017-12-06decklinkvideosink: Wait until scheduled playback is actually stopped before ↵Sebastian Dröge3-2/+28
continuing Otherwise we might "start" again, just to get finally stopped and then getting errors all over the place. https://bugzilla.gnome.org/show_bug.cgi?id=790114
2017-12-06srt: Fix warning errorSeungha Yang1-1/+1
gstsrt.c: In function ‘gst_srt_client_connect_full’: gstsrt.c:151:6: error: ‘sock’ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (sock != SRT_INVALID_SOCK) { https://bugzilla.gnome.org/show_bug.cgi?id=791302
2017-12-06androidmedia: when flushing, better handle IllegalStateException received ↵Ursula Maplehurst3-15/+30
from getOutputBuffer 1. Similar to 880f3d8, don't consider not getting an output buffer as an error during flushing. I've seen the following sometimes when encoding: W GStreamer+amcvideoenc: java.lang.IllegalStateException W GStreamer+amcvideoenc: at android.media.MediaCodec.getBuffer(Native Method) W GStreamer+amcvideoenc: at android.media.MediaCodec.getOutputBuffer(MediaCodec.java:2886) 2. For amcvideodec/enc, call _find_nearest_frame (which grabs a fresh reference on a GstVideoCodecFrame) after we have an output buffer, so as to not leak the reference, in case getting an output buffer fails. Otherwise, if we get an error grabbing the output buffer, we leak the reference to the frame. This can cause issues with a v4l2bufferpool feeding the encoder not being able to clean itself up properly due to buffers still being marked as in-use. https://bugzilla.gnome.org/show_bug.cgi?id=791258
2017-12-05gldownload: fix wrong enumVíctor Manuel Jáquez Leal1-1/+1
When compiling with clang, an enum conversion error is triggered since GstVideoFrameFlags are not GstVideoFlags. This patch sets GST_VIDEO_FRAME_FLAG_NONE to the added video meta. https://bugzilla.gnome.org/show_bug.cgi?id=791251
2017-12-03docs: aggregator has moved to baseEdward Hervey1-6/+0
2017-12-02gldownload: Add missing ifdef for dmabuf and eglNicolas Dufresne1-0/+2
This fixes the build for platforms that don't support one or the other.
2017-12-02gldisplay: Prefer wayland over X11Nicolas Dufresne1-4/+4
As most Wayland compositors supports XWayland, X11 backend get selected. This also realign better GStreamer decision to what happens with GTK and other stack out there.
2017-12-02gldisplay: Add missing GL API to the docNicolas Dufresne1-1/+1
2017-12-02gldownload: Add dmabuf exportingMatt Fischer4-5/+333
This patch adds code to gldownload to export the image as a dmabuf if requested. The element now exposes memory:DMABuf as a cap feature, and if it is selected, the element exports the texture to an EGL image and then a dmabuf. It also implements a fallback to system memory download in case the exportation failed. https://bugzilla.gnome.org/show_bug.cgi?id=776927
2017-12-02Remove GstAggregator from -bad, moved to coreTim-Philipp Müller33-4786/+13
https://bugzilla.gnome.org/show_bug.cgi?id=739010
2017-12-01kmssink: Add display-width/height propertiesNicolas Dufresne1-0/+51
This is to be used with gst_video_overlay_set_render_rectangle() so the application can calculate a rectangle that fits inside the display. The property changes are notify in a way that you can watch either notify::display-width or notify::display-height and both will be up-to-data when this is called back. Before the element is started, the size will be 0x0. https://bugzilla.gnome.org/show_bug.cgi?id=784599
2017-12-01kmssink: support videooverlay interfaceHaihua Hu2-14/+172
Implement videooverlay interface in kmssink, divided into two cases: when driver supports scale, then we do refresh in show_frame(); if not, send a reconfigure event to upstream and re-negotiate, using the new size. https://bugzilla.gnome.org/show_bug.cgi?id=784599
2017-12-01kmssink: add can-scale propertyHaihua Hu1-2/+18
https://bugzilla.gnome.org/show_bug.cgi?id=784599
2017-11-30dashdemux: remove duplicated codeJun Xie1-4/+0
remove duplicated code https://bugzilla.gnome.org/show_bug.cgi?id=790895
2017-11-30dashdemux: fix memory leakJun Xie1-2/+2
GPtrArray in GstActiveStream is leaked in some cases. gst_mpdparser_free_active_stream shall be invoked to free GstActiveStream https://bugzilla.gnome.org/show_bug.cgi?id=790899
2017-11-28meson: don't generate or install pkg-config file for gstreamer-waylandTim-Philipp Müller1-4/+4
which is not for public consumption currently (headers not installed). https://bugzilla.gnome.org/show_bug.cgi?id=790912
2017-11-27Automatic update of common submoduleMatthew Waters1-0/+0
From 3f4aa96 to e8c7a71
2017-11-27gl/caopengllayer: use public GstGLContext instead of Cocoa-specific oneMatthew Waters4-16/+12
Allows keeping the GstGLCAOpenGLLayer public but not the winsys-specific context/display/window.
2017-11-27Revert "gl: cocoa: sprinkle some GST_EXPORT"Matthew Waters1-2/+0
This reverts commit 94d798c3337013bd902c0fd0a66f7f6842243eeb. cocoac headers don't need to be public as all the functionality can be provided by the base class
2017-11-26gl: cocoa: sprinkle some GST_EXPORTTim-Philipp Müller1-0/+2
Undefined symbols for architecture x86_64: "_gst_gl_context_cocoa_get_type", referenced from: __create_layer in libgstopengl_la-caopengllayersink.o Might need some more in other headers, but first need to clarify what exactly should be exported, there are some inconsistencies (installed header files vs. funcs in docs).
2017-11-26autotools: remove check-exports target dep which no longer existsTim-Philipp Müller1-2/+0
2017-11-26win32: remove .def file with exportsTim-Philipp Müller14-527/+3
They're no longer needed, symbol exporting is now explicit via GST_EXPORT in all cases (autotools, meson, incl. MSVC).
2017-11-26autotools: stop controlling symbol visibility with -export-symbols-regexTim-Philipp Müller1-5/+15
Instead, use -fvisibility=hidden and explicit exports via GST_EXPORT. This should result in consistent behaviour for the autotools and Meson builds.
2017-11-26codecparsers: mpegvideoparser: remove API that was deprecated 5 years agoTim-Philipp Müller4-269/+9
Libraries in -bad are not covered by our API/ABI stability guarantees, and to the best of our knowledge everyone using this API has moved to the replacement APIs ages ago.
2017-11-25waylandsink: Add prototype for gst_wayand_pool_get_type()Nicolas Dufresne1-0/+3
2017-11-25waylandsink: Rollback video info changes when copyingNicolas Dufresne1-0/+5
We change the video info base on the received buffer. We need to rollback these changes whenever we want to copy into our internal pool of buffers. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25waylandsink: Validate strides and offset when using FD as SHMNicolas Dufresne2-2/+69
As SHM interface only support 1 stride, and 1 offset, we need to make sure that there is no padding between planes for planar formats. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25waylandsink: Update video info size to buffer sizeNicolas Dufresne1-1/+1
We where setting the size to the first memory size, this may be too small in case we received a buffer with multiple memory. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25waylandsink: Allocate only what's needed when copyingNicolas Dufresne1-0/+3
There was this regression that we'd be using the updated video info size instead of default size when initializing the pool. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25waylandsink: Only try SHM for single memory bufferNicolas Dufresne1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25wlwindow: Only update video info on new renderNicolas Dufresne1-4/+4
The sink->video_info might not reflect the current buffer when expose is being called. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25waylandsink: Disable video-alignment from the poolNicolas Dufresne1-1/+37
The SHM interface does not allow passing arbitrary strides and offsets, for this reason, we simply disable this feature from the proposed pool. This fixes video artifact seen when using the FFMPEG based video decoder. https://bugzilla.gnome.org/show_bug.cgi?id=790057
2017-11-25opusparse: fix uninitialized-warningHavard Graff1-1/+1
2017-11-25h263parse: Add debug log for more annexes when plustypeStian Selnes1-0/+6
2017-11-25hls: Don't leak mutexEdward Hervey1-0/+1
2017-11-25videoaggregator: Don't leak stringEdward Hervey1-2/+4
The result of gst_video_colorimetry_to_string () needs to be free'd
2017-11-25netsim: simplify getting buffer size in bitsTim-Philipp Müller1-12/+2
2017-11-25meson.build: use join_paths() on prefixHåvard Graff1-1/+1
So that "/" are correct on Windows and the paths in the .pc files are like C:/some/where and not C:\some\where.
2017-11-25tests: ignore waylandsink in state change testTim-Philipp Müller1-1/+1
"Unexpected critical/warning: Wayland compositor is missing the ability to scale, video display may not work properly."
2017-11-25netsim: add "allow-reordering" propertyHavard Graff2-3/+52
Reordering of packets is not very common in networks, and the delay functions will always introduce reordering if delay > packet-spacing, so by setting allow-reordering to FALSE you guarantee that the packets are in order, while at the same time introducing delay/jitter to them.
2017-11-25netsim: Add gamma distribution for delayStian Selnes2-9/+69
This simulates the delay on wifi networks better.