summaryrefslogtreecommitdiff
path: root/gst/dvdspu
Commit message (Collapse)AuthorAgeFilesLines
* plugins-bad: Fix example pipelinesVineeth TM2015-12-151-1/+1
| | | | | | | | rename gst-launch --> gst-launch-1.0 replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**) fix caps in examples https://bugzilla.gnome.org/show_bug.cgi?id=759432
* spu-pgs: Fix array memory leakVineeth T M2015-11-241-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=758517
* Revert "dvdspu: render to AYUV overlay"Jan Schmidt2015-09-2710-440/+448
| | | | This reverts commit 5016a73190595505dc38b54f8f9a08c4f180f3a6.
* Revert "dvdspu: render to ARGB overlay instead of AYUV"Jan Schmidt2015-09-274-53/+35
| | | | This reverts commit dd3e9deb2aa695a391b58f24d86a3c00bbc1258a.
* Revert "dvdspu: handle frame size event from upstream"Jan Schmidt2015-09-272-10/+2
| | | | This reverts commit 46aaaa6c309b8a8f6e218142fd5944f5d24f095c.
* Revert "dvdspu: cache overlay composition"Jan Schmidt2015-09-272-28/+8
| | | | This reverts commit aabb8a1a68372f750c63b9b6586e18e829745774.
* Revert "dvdspu: improve negotiation of overlay composition"Jan Schmidt2015-09-272-344/+50
| | | | This reverts commit 1899e2a099932a7a734e7784c20b624517237e18.
* dvdspu: fix pgs palette colorsArnaud Vrac2015-09-261-2/+2
| | | | | | U and V were inverted https://bugzilla.gnome.org/show_bug.cgi?id=755239
* dvdspu: improve negotiation of overlay compositionArnaud Vrac2015-09-262-50/+344
| | | | | | | Support negotiating GstVideoOverlayComposition downstream while not providing it upstream. https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: cache overlay compositionArnaud Vrac2015-09-262-8/+28
| | | | | | This avoids rendering the overlay buffer for each video frame. https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: handle frame size event from upstreamArnaud Vrac2015-09-262-2/+10
| | | | | | | | An IDX file or codec_data normally contains the original frame size of the video. Allow upstream to provide this information by sending a custom event, which will allow scaling the overlay correctly. https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: allow suffix in dvd event name to allow multiple sticky dvd eventsArnaud Vrac2015-09-261-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: render to ARGB overlay instead of AYUVArnaud Vrac2015-09-264-35/+53
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: render to AYUV overlayArnaud Vrac2015-09-2610-448/+440
| | | | | | | | | | | | | | | | | | | | Instead of only supporting writing SPU data directly to YUV frames, render the SPU data to an intermediate AYUV overlay buffer. The overlay data is then attached to the video frame if downstream supports overlay composition, otherwise the AYUV overlay is blended to the video frame. For the PGS format, the overlay buffer size is set to the size of the Composition Window, and its position in the overlay composition is set to the window position. The objects to render are now cropped when the cropping flag is set. For the Vobsub format, the overlay buffer size is set to the size of the Display Area. Once rendered, the overlay composition rectangle is now moved and scaled to fit the video output size, to avoid clipping. https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: pass dvdspu argument to set_caps functionsArnaud Vrac2015-09-261-10/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: skip unneeded reading of RLE dataArnaud Vrac2015-09-261-3/+3
| | | | | | | The RLE data was being read for dumping the SPU image even when the DUMP_FULL_IMAGE macro was not set. https://bugzilla.gnome.org/show_bug.cgi?id=663750
* dvdspu: pgs: fix printf format/argument mismatch in debug statementsTim-Philipp Müller2015-09-171-5/+6
| | | | Fixes compiler warnings when extra debugging is enabled at compile time.
* spu-pgs: fix buffer and event leakVineeth TM2015-08-131-2/+5
| | | | | | | | | When playing mts files with embedded subtitles, the buffer is mapped, but not unmapped at the end resulting in a memory leak. Also unref event in handle_dvd_event as it takes ownership of the event. https://bugzilla.gnome.org/show_bug.cgi?id=753539
* dvdspu: Fix event leaksVineeth TM2015-08-131-2/+6
| | | | | | | | When playing mts files with embedded subtitles, there are few event leaks. Events are supposed to be transfer full. So if not forwarding the event, they need to be freed. https://bugzilla.gnome.org/show_bug.cgi?id=753539
* dvdspu: Map the pixel data once per render, not *ahem* twice per byte.Jan Schmidt2015-06-092-5/+17
| | | | The naive port to 1.0 from years ago was silly, make it better.
* Remove obsolete Android build cruftTim-Philipp Müller2015-04-261-14/+0
| | | | This is not needed any longer.
* dvdspu: some optimizationsRob Clark2015-02-081-14/+23
| | | | | | | | | Detect invisible pixels, and skip gstspu_vobsub_blend_comp_buffers() when there are only invisible pixels. This significantly reduces the CPU load in cases of DVDs which don't use the clip_rect to exclude processing for parts of the screen where the video is visible. https://bugzilla.gnome.org/show_bug.cgi?id=667221
* dvdspu: Avoid warning if the video for a still frame arrives after the SPUJan Schmidt2015-02-081-0/+3
| | | | | When we don't have a segment on the video pad yet during a still frame don't freak out.
* gst: remove unnecessary GLIB_DISABLE_DEPRECATION_WARNINGSVineeth T M2014-10-021-4/+0
| | | | | | | | There are unnecessary definitions for disabling deprecation warnings. Since GLIB_DISABLE_DEPRECATION_WARNINGS is not needed anymore in these files, removing the same. https://bugzilla.gnome.org/show_bug.cgi?id=737559
* style: remove unnecessary break statementsLuis de Bethencourt2014-09-251-1/+0
| | | | | | | Code flow never arrives to these break statements due to the gotos preceding them. So the breaks are unnecessary, as discussed in bug 736942. https://bugzilla.gnome.org/show_bug.cgi?id=737370
* dvdspu: set proxy allocation flag on the video sink padMatthieu Bouron2014-03-081-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=725893
* dvdspu: Remove unused variableSebastian Dröge2014-02-081-7/+0
|
* dvdspu: Don't unmap an unreffed bufferJan Schmidt2013-11-251-1/+2
| | | | | gst_dvd_spu_finish_spu_buf drops the reference to the current buffer, so make sure to call gst_buffer_unmap before it.
* dvdspu: pop new packet when invalid next command blockMark Nauwelaerts2013-11-231-5/+7
| | | | | | ... to prevent staying stuck on current command block and busy looping. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=712219
* dvdspu: Handle vobsub packets smaller than 4 bytesJan Schmidt2013-11-211-1/+5
| | | | | | In particular, handle the case of an empty packet with size 0 bytes. Partially fixes: #712643
* dvdspu: handle sticky dvd eventsMatej Knopp2013-10-051-0/+1
| | | | | | palette-changed events are now sticky. https://bugzilla.gnome.org/show_bug.cgi?id=709454
* all: Fix for GST_DISABLE_GST_DEBUGEdward Hervey2013-07-291-6/+3
| | | | | Where applicable, remove methods that don't do anything different than the default implementation.
* dvdspu: artifacts when rendering clipped spuMatej Knopp2013-07-291-10/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=705039
* gst: Add better support for static pluginsSebastian Dröge2013-04-151-1/+1
|
* dvdspu: Fix the rendering of PGS windows with left != 0Jan Schmidt2013-02-071-0/+2
| | | | | | When rendering a PGS window area where the left edge is not at pixel 0, the chroma was being rendered in the wrong place since commit 4dc648d3430b67592cf1413ccef415f70889d71e
* Fix FSF addressTim-Philipp Müller2012-11-049-18/+18
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=687520
* Use gst_element_class_set_static_metadata()Tim-Philipp Müller2012-10-171-2/+2
| | | | | where possible. Avoids some string copies. Also re-indent some stuff. Also some indent fixes here and there.
* dvdspu: add YV12 and NV12 supportRob Clark2012-10-032-8/+9
| | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=667220 Conflicts: gst/dvdspu/gstdvdspu.c gst/dvdspu/gstdvdspu.h gst/dvdspu/gstspu-pgs.c gst/dvdspu/gstspu-vobsub-render.c
* replace gst_element_class_set_details_simple with gst_element_class_set_metadataMark Nauwelaerts2012-09-141-1/+1
|
* dvdspu: Advance video stream with gap events.Jan Schmidt2012-09-121-14/+38
| | | | | | | Handle Gap events the way we used to handle segment updates and advance/fill in the video stream accordingly. Fixes 'still' menus which aren't DVD still frames, but are just a single frame with accompanying audio.
* dvdspu: Make GAP event awareJan Schmidt2012-08-311-0/+16
|
* video/x-dvd-subpicture -> subpicture/x-dvdTim-Philipp Müller2012-08-201-2/+2
|
* dvdspu: Fix array typeEdward Hervey2012-06-121-1/+1
| | | | | We wanted an array of guint8 (and not an array of pointers) to store the data from gst_buffer_extract() and read it.
* dvdspu: allow debugging of render and highlight rectangles via environment ↵Tim-Philipp Müller2012-06-113-2/+26
| | | | | | | | | | | | variable Enable debugging of rectangles via GST_DVD_SPU_DEBUG. https://bugzilla.gnome.org/show_bug.cgi?id=667223 Conflicts: gst/dvdspu/gstspu-vobsub-render.c
* dvdspu: cleanup debug codeRob Clark2012-06-111-42/+29
| | | | | | | | | | | | | | | Clean up debug code for drawing highlight rects which wasn't even compiling previously. TODO: might be nice if this could be controlled by properties or env variables to make it possible to enable the debug code at runtime. https://bugzilla.gnome.org/show_bug.cgi?id=667223 Conflicts: gst/dvdspu/gstspu-vobsub-render.c
* gst: Update for GST_PLUGIN_DEFINE() API changesSebastian Dröge2012-04-051-1/+1
|
* gst: Update versioningSebastian Dröge2012-04-041-1/+1
|
* update for buffer changesWim Taymans2012-03-281-1/+1
|
* fix for caps api changesWim Taymans2012-03-111-3/+3
|
* dvdspu should forward video caps eventMatej Knopp2012-02-201-1/+4
|