mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
b0ce390d50
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 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. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5827>
16 lines
362 B
Meson
16 lines
362 B
Meson
dvdspu_sources = [
|
|
'gstdvdspu.c',
|
|
'gstspu-vobsub.c',
|
|
'gstspu-vobsub-render.c',
|
|
'gstspu-pgs.c',
|
|
]
|
|
|
|
gstdvdspu = library('gstdvdspu',
|
|
dvdspu_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, gstvideo_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstdvdspu]
|