summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* meson: Add feature options for all pluginsNirbheek Chauhan2018-07-272-2/+2
| | | | | | GL dependency detection is still automagic. https://bugzilla.gnome.org/show_bug.cgi?id=795107
* xvimage: Fix symbol redefine build errorSeungha Yang2018-07-192-5/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=796827
* Meson: Generate pc file for all plugins in baseXavier Claessens2018-04-252-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=794568
* xvimagesink: Allow changing render-rectangle through propertyNicolas Dufresne2018-01-292-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
* xvimagesink: fix inaccurate error messageJun Xie2017-12-111-1/+1
| | | | | | | It's about not being able to calculate the display size, not the display ratio. https://bugzilla.gnome.org/show_bug.cgi?id=791463
* ximagesink, xvimagesink: fix incorrect type conversion of pointer positionAkinobu Mita2017-12-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | I'm currently playing with modified ximagesink that does XGrabPointer() in order to receive the mouse events occurred outside of the window and send them to the navigation interface. The pointer positions usually have positive coordinates, but it could be negative with that change. When the ximagesink handles XEvent that contains a negative pointer coordinate, it incorrectly generates the GstEvent that contains an extremely large positive pointer coordinate. This is because the negative pointer position in XEvent is incorrectly converted from signed to unsigned and passed as an argument to gst_navigation_send_mouse_event() which causes implicit conversion from integer to double. So the pointer position in the received XEvent and generated GstEvent are completely different. This potential problem does not seem to be a real problem with unmodified ximagesink but there is no reason to leave it as is. This also fixes xvimagesink that has the same potential problem. https://bugzilla.gnome.org/show_bug.cgi?id=791140
* xvimageallocator: Fix build warning errorSeungha Yang2017-12-061-8/+10
| | | | | | Fix unused variable build error if HAVE_XSHM is undefined https://bugzilla.gnome.org/show_bug.cgi?id=790329
* Request minimum buffer even if need_pool is FALSENicolas Dufresne2017-09-062-22/+18
| | | | | | | When tee is used, it will not request a pool, but still it wants to know how many buffers are required. https://bugzilla.gnome.org/show_bug.cgi?id=730758
* gst: Clear floating flag in constructor of all GstObject subclasses that are ↵Sebastian Dröge2017-05-173-0/+4
| | | | | | not owned by any parent https://bugzilla.gnome.org/show_bug.cgi?id=743062
* Remove plugin specific static build optionNicolas Dufresne2017-05-162-2/+0
| | | | | Static and dynamic plugins now have the same interface. The standard --enable-static/--enable-shared toggle are sufficient.
* docs: Convert gtkdoc comments to markdownThibault Saunier2017-03-103-53/+49
| | | | | | Modernizing the documentation, making it simpler to read an modify and allowing us to possibly switch to hotdoc in the future.
* Fix plugin filenames to match pugin namesNicolas Dufresne2017-03-081-1/+1
| | | | | | | - libgstencodebin.so is now libgstencoding.so - libgstximage.so is now libgstximagesink.so (meson only) https://bugzilla.gnome.org/show_bug.cgi?id=779344
* Fix indentationTim-Philipp Müller2017-01-091-1/+1
|
* Add support for Meson as alternative/parallel build systemNirbheek Chauhan2016-08-203-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/mesonbuild/meson With contributions from: Tim-Philipp Müller <tim@centricular.com> Jussi Pakkanen <jpakkane@gmail.com> (original port) Highlights of the features provided are: * Faster builds on Linux (~40-50% faster) * The ability to build with MSVC on Windows * Generate Visual Studio project files * Generate XCode project files * Much faster builds on Windows (on-par with Linux) * Seriously fast configure and building on embedded ... and many more. For more details see: http://blog.nirbheek.in/2016/05/gstreamer-and-meson-new-hope.html http://blog.nirbheek.in/2016/07/building-and-developing-gstreamer-using.html Building with Meson should work on both Linux and Windows, but may need a few more tweaks on other operating systems.
* xvimagesink: only error out if the allocated memory is too smallTim-Philipp Müller2016-07-181-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=767712
* xvimageallocator: const correctness in gst_xvimage_allocator_alloc().Duncan Palmer2016-07-182-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=767712
* xvimagesink: error out on buffer size sanity check failure.Duncan Palmer2016-07-183-42/+56
| | | | | | | | | | | If sanity checks on the buffer size allocated by XvShmCreateImage() fail, call on g_set_error(), rather than just logging a warning, as this failure is fatal. Add a sanity check on buffer size when the video format is RGB. This adds to existing checks on various YUV pixel formats. https://bugzilla.gnome.org/show_bug.cgi?id=767712
* ximagesink: generate reconfigure on window handle changeJakub Adam2016-04-261-7/+5
| | | | | | | | | | | | | | When ximagesink is given a new window handle, it should check its geometry and if the size of the new window differs from the previous one, create reconfigure event in order to get a chance to negotiate a more suitable image resolution with the upstream elements. We can't rely on receiving Expose or ConfigureNotify from the X server for the newly assigned window, which would also generate reconfigure. https://bugzilla.gnome.org/show_bug.cgi?id=765424
* base: use new gst_element_class_add_static_pad_template()Vineeth TM2016-03-242-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=763075
* Fix use of undeclared core debug category symbolsTim-Philipp Müller2016-02-205-9/+8
| | | | | | | | | | | libgstreamer currently exports some debug category symbols GST_CAT_*, but those are not declared in any public headers. Some plugins and libgstvideo just use GST_DEBUG_CATEGORY_EXTERN() to declare and use those, but that's just not right at all, and it won't work on Windows with MSVC. Instead look up the categories via the API.
* xvimagesink/ximagesink: Fix structure memory leakVineeth TM2015-11-172-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758204
* xvimagesink: Put error message into debug output instead of just throwing it ↵Sebastian Dröge2015-10-041-2/+4
| | | | away
* xvimagesink: fix error leak when context creation failsVineeth TM2015-09-141-1/+2
| | | | | | When context creation fails, error is getting leaked. https://bugzilla.gnome.org/show_bug.cgi?id=754973
* xvimagesink: refactor to use gst_pad_push_eventVineeth T M2015-07-071-56/+51
| | | | | | | | | Right now navigation events are being sent via gst_pad_send_event after getting the peer pad of the sinkpad. But the same functionality can be done using gst_pad_push_event without need of getting peer pad in xvimagesink. https://bugzilla.gnome.org/show_bug.cgi?id=752059
* ximagesink: Post navigation events as message on the busVineeth T M2015-07-071-2/+12
| | | | | | | post unhandled events to bus, so that application can utilise the same if needed https://bugzilla.gnome.org/show_bug.cgi?id=752043
* ximagesink: fix navigation event leakVineeth T M2015-07-071-11/+4
| | | | | | | Create event only when pad is created and send the event to pad. https://bugzilla.gnome.org/show_bug.cgi?id=752041
* xvimagesink: fix pad memory leakVineeth TM2015-07-071-0/+1
| | | | | | pad is not being freed when xwindow is not created https://bugzilla.gnome.org/show_bug.cgi?id=752042
* x/xv_image_sink: rename for consitencyStefan Sauer2015-07-0610-307/+314
| | | | | Insert '_' to match the CamelCase. This is needed so that the plugin docs can guess the names from the type name.
* xvimagesink: Don't share internal poolNicolas Dufresne2015-06-121-55/+37
| | | | | | | | | Sharing the internal pool results in situation where the pool may have two upstream owners. This creates a race upon deactivation. Instead, always offer a new pool, and keep the internal pool internal in case we absolutely need it. https://bugzilla.gnome.org/show_bug.cgi?id=748344
* ximagesink: Don't share internal poolNicolas Dufresne2015-06-121-60/+43
| | | | | | | | | Sharing the internal pool results in situation where the pool may have two upstream owners. This create a race upon deactivation. Instead, always offer a new pool, and keep the internal pool internal in case we absolutely need it. https://bugzilla.gnome.org/show_bug.cgi?id=748344
* ximagesink, xvimagesink: fix string leaks when setting class hintTim-Philipp Müller2015-06-082-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=750455
* ximagesink: set WM_CLASS of windowLuis de Bethencourt2015-06-081-0/+8
| | | | | Set WM_CLASS of the ximagesink window so window managers can apply rules based on xprop filtering.
* xvimagesink: set WM_CLASS of windowLuis de Bethencourt2015-06-081-0/+8
| | | | | Set WM_CLASS of the xvimagesink window so window managers can apply rules based on xprop filtering.
* xvimagesink: fix pool leakVineeth T M2015-05-181-0/+1
| | | | | | | During set caps when config fails, the referenced newpool is not unref ed. https://bugzilla.gnome.org/show_bug.cgi?id=749530
* docs: update element example pipelinesTim-Philipp Müller2015-05-102-14/+16
| | | | | | - gst-launch -> gst-launch-1.0 - use autoaudiosink and audiovideosink more often - review pipeline examples and descriptions
* xvimagesink: fix navigation event leak when early returningGuillaume Desmottes2015-05-051-2/+1
| | | | | | Create the event *after* the early return check so it's not leaked. https://bugzilla.gnome.org/show_bug.cgi?id=748903
* xvimagesink: fix navigation event leak when not handledGuillaume Desmottes2015-05-051-2/+3
| | | | | | | gst_navigation_message_new_event() is *not* consuming the event so we should always drop our extra reference. https://bugzilla.gnome.org/show_bug.cgi?id=748903
* xvimagesink: Post unhandled navigation events on the busEdward Hervey2015-04-291-2/+11
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=747245
* xvimagsink: fix failure to allocate large shared memory blocksVincent Penquerc'h2015-04-031-2/+4
| | | | | | | | | | | | | A previous patch increased allocations by 15 bytes in order to ensure 16 byte alignment for g_malloc blocks. However, shared memory is already block aligned, and this extra 15 bytes caused allocation to fail when we were already allocating to the shared memory limit, which is a lot smaller than typical available RAM. Fix this by removing the alignment slack when allocating shared memory. https://bugzilla.gnome.org/show_bug.cgi?id=706066
* ximage: do not allocate extra alignment slack for shared memoryVincent Penquerc'h2015-04-031-1/+4
| | | | | | | | | A previous patch increased allocations by 15 bytes in order to ensure 16 byte alignment for g_malloc blocks. However, shared memory is already block aligned, and this extra 15 bytes is not needed. Since shared memory limits are low compared to RAM, we remove this waste. https://bugzilla.gnome.org/show_bug.cgi?id=727236
* Fix double semicolonsTim-Philipp Müller2015-03-101-1/+1
|
* videopool: update video alignment after applyingSong Bing2014-12-222-0/+4
| | | | | | | | Video buffer pool will update video alignment to respect stride alignment requirement. But haven't updated it to video alignment in configure. Which will cause user get wrong video alignment. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741501
* ximagesink: clear src and dest rectanglesWim Taymans2014-12-162-3/+8
| | | | | | Now that the center function also takes into account the x and y coordinates of the dest rectangle, better clear all the fields before using them.
* videopool: update buffer size after video alignmentSong Bing2014-12-162-2/+12
| | | | | | | | | Update the new buffer size after alignment in the pool configuration before calling the parent set_config. This ensures that the parent knows about the buffer size that we will allocate and makes the size check work in the release_buffer method. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741420
* xvimagesink: get rid of unnecessary private struct for poolTim-Philipp Müller2014-09-272-64/+49
|
* ximagesink: get rid of unnecessary private struct for poolTim-Philipp Müller2014-09-272-54/+38
| | | | This is not exposed as API after all.
* xvimagesink: only try to set XV_ITURBT_709 port attribute if it existsTim-Philipp Müller2014-09-112-1/+10
| | | | | | | | | | | | Don't try to set port attribute that's not advertised by the adaptor. Fixes videotestsrc ! xvimagesink aborting with X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 151 (XVideo) Minor opcode of failed request: 13 () on intel HD4600 graphics with kernel 3.16, xserver 1.15, intel driver 2.21.15.
* xvimage: fix crash when outputting debug logTim-Philipp Müller2014-08-101-3/+3
| | | | | | | Can't print a GstMemory via GST_PTR_FORMAT, it will crash inside GObject checking if it's a GObject, and we can't check generically whether it's a derived GstMemory type, as boxed types don't allowe derivation.
* xvimagesink: fix property description stringTim-Philipp Müller2014-07-171-1/+1
| | | | Spotted by Josep Torra.
* xvimage: remove dead codeVincent Penquerc'h2014-04-101-2/+2
| | | | | | | matching_attr can not be NULL here, we've tested that away a few lines beforehand. Coverity 1139655