Edward Hervey
94230af7a3
rtp: Don't forget to initialize GstRTPBuffer
2011-12-05 18:30:37 +01:00
Tim-Philipp Müller
7d20a7bdb9
video: don't use deprecated GStaticMutex with newer glib versions
2011-12-05 15:48:07 +00:00
Tim-Philipp Müller
6630236af4
video: add video overlay composition API for subtitles
...
Basic API to attach overlay rectangles to buffers,
or blend them directly onto raw video buffers.
To be used primarily for things like subtitles or
logo overlays, not meant to replace videomixer.
Allows us to associate subtitle overlays with
non-raw video surface buffers, so that subtitles
are not lost and can instead be rendered later
when those surfaces are displayed or converted,
whilst re-using all the existing overlay plugins
and not having to teach them about our special
video surfaces. Could also have been made part
of the surface buffer abstraction of course, but
a secondary goal was to consolidate the blending
code for raw video into libgstvideo, and this
kind of API allows us to do both in a way that's
minimally invasive to existing elements, and at
the same time is fairly intuitive.
More features and extensions like the ability to
pass the source data or text/markup directly will
be added later.
https://bugzilla.gnome.org/show_bug.cgi?id=665080
API: gst_video_buffer_get_overlay_composition()
API: gst_video_buffer_set_overlay_composition()
API: gst_video_overlay_composition_new()
API: gst_video_overlay_composition_add_rectangle()
API: gst_video_overlay_composition_n_rectangles()
API: gst_video_overlay_composition_get_rectangle()
API: gst_video_overlay_composition_make_writable()
API: gst_video_overlay_composition_copy()
API: gst_video_overlay_composition_ref()
API: gst_video_overlay_composition_unref()
API: gst_video_overlay_composition_blend()
API: gst_video_overlay_rectangle_new_argb()
API: gst_video_overlay_rectangle_get_pixels_argb()
API: gst_video_overlay_rectangle_get_pixels_unscaled_argb()
API: gst_video_overlay_rectangle_get_render_rectangle()
API: gst_video_overlay_rectangle_set_render_rectangle()
API: gst_video_overlay_rectangle_copy()
API: gst_video_overlay_rectangle_ref()
API: gst_video_overlay_rectangle_unref()
2011-12-05 15:37:02 +00:00
Tim-Philipp Müller
a7a3f969b3
video: hide private video-blend.[ch] from gobject-introspection
...
And remove unused fields from helper structure.
2011-12-05 15:37:02 +00:00
Tim-Philipp Müller
b0ff1d22e9
video: add fallbacks for compilation without orc
2011-12-05 15:36:56 +00:00
Thibault Saunier
80054a3b1e
video: add some internal helper functions for image blending
...
This could be improved if we decide we don't need it to
be this generic/flexible.
2011-12-05 15:03:47 +00:00
Sebastian Dröge
b0f4085f22
xoverlay: Fix mistakes in the sample code
...
Fixes bug #665430 .
2011-12-05 09:39:08 +01:00
Matej Knopp
f89d7ee7eb
Appsink fixes
2011-12-05 09:34:50 +01:00
Tim-Philipp Müller
5440ae3c18
Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
...
GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.
2011-12-04 20:50:25 +00:00
Tim-Philipp Müller
0d98aa25b8
Work around deprecated thread API in glib master
...
Add private replacements for deprecated functions such as
g_mutex_new(), g_mutex_free(), g_cond_new() etc., mostly
to avoid the deprecation warnings. We'll change these
over to the new API once we depend on glib >= 2.32.
Replace g_thread_create() with g_thread_try_new().
2011-12-04 17:16:30 +00:00
Tim-Philipp Müller
6098442bd0
xmpwriter: update for thread API deprecations in glib master
2011-12-04 15:23:21 +00:00
Wim Taymans
1225aa9a78
update for basesink event handler changes
2011-12-02 22:24:43 +01:00
Tim-Philipp Müller
177525f89f
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/netbuffer/gstnetbuffer.c
gst/ffmpegcolorspace/avcodec.h
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/imgconvert.c
gst/ffmpegcolorspace/imgconvert_template.h
gst/ffmpegcolorspace/mem.c
gst/playback/README
gst/playback/gstplaybasebin.c
gst/playback/gstplaybasebin.h
gst/playback/gstplaybin.c
sys/v4l/v4lmjpegsrc_calls.c
sys/v4l/videodev_mjpeg.h
tests/check/elements/gnomevfssink.c
2011-12-02 11:10:17 +00:00
Piotr Fusik
14644457b0
various: typo fixes
...
Fix typos in code and docs. Fixes. #658984
2011-12-02 12:03:27 +01:00
Tim-Philipp Müller
ec0d3566bf
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/alsa/gstalsasrc.c
ext/alsa/gstalsasrc.h
gst/adder/gstadder.c
gst/playback/gstplaybin2.c
gst/playback/gstplaysinkconvertbin.c
win32/common/libgstvideo.def
2011-12-02 00:07:39 +00:00
Wim Taymans
3deaa582d9
tags: make the tag functions return GstSample
...
gst_tag_image_data_to_image_buffer() ->
gst_tag_image_data_to_image_sample() And make it return a GstSample.
Store the image-type into the extra sample info.
Remove a deprecated tag
2011-12-01 18:51:51 +01:00
Wim Taymans
59113af604
Use the new GstSample for snapshots
...
Make appsink return a GstSample. Remove the pull_buffer_list method because it
is not very useful anymore.
Pass GstSample to the conversion function.
Update playbin2 and examples
2011-12-01 16:53:11 +01:00
Wim Taymans
66d7151787
update marshal list
2011-12-01 15:54:49 +01:00
Wim Taymans
92ac25bdb3
videometa: add copy functions
...
Without copy functions, the metadata is lost when we make a buffer copy such as
when we make a buffer writable.
2011-12-01 15:45:28 +01:00
Wim Taymans
e064f9dbf6
appsrc: fix negotiation
...
Remove old useless caps code.
Make a negotiate function and use the configured caps as the caps on the appsrc
pad. If nothing was configured, fall back to the parent implementation.
2011-12-01 15:38:10 +01:00
Edward Hervey
e44db979f9
audio: Add audio-marshal.list to dist-ed files
2011-11-30 11:33:41 +01:00
Wim Taymans
47cbb230e9
audio: move audio interfaces
...
Move the audio related interfaces to the audio library.
2011-11-30 07:57:02 +01:00
Wim Taymans
4fb0f98bb9
encoding-profile: small cleanup in docs
2011-11-30 07:23:07 +01:00
Edward Hervey
5bc6ffcd8b
video: Don't forget to install moved header files
2011-11-29 19:49:50 +01:00
Wim Taymans
871b306fce
video: move some interfaces
...
Move some interfaces to the video library
2011-11-29 19:10:01 +01:00
Alessandro Decina
848711706b
libgstvideo: minor fixes to key unit events
...
Make out args to gst_video_event_parse_{downstream|upstream}_force_key_unit
optional, update libgstvideo.def and fix docs a bit.
API: gst_video_event_new_upstream_force_key_unit
API: gst_video_event_new_downstream_force_key_unit
API: gst_video_event_is_force_key_unit
API: gst_video_event_parse_upstream_force_key_unit
API: gst_video_event_parse_downstream_force_key_unit
https://bugzilla.gnome.org/show_bug.cgi?id=607742
2011-11-29 09:15:59 +01:00
Andoni Morales Alastruey
df44e771f1
libgstvideo: Add force key unit events
2011-11-29 08:58:28 +01:00
Tim-Philipp Müller
0d87fd7146
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/fft/gstffts16.h
2011-11-28 21:25:11 +00:00
Tim-Philipp Müller
0c056a04fe
Merge commit '4a58223e4c824fedc024af435337a769e8ce593e' into 0.11
2011-11-28 21:20:10 +00:00
Philippe Normand
0a841f6712
fft: Bracket public headers
...
This is especially needed if the gstfftw library is used from C++
code.
Fixes #665074
2011-11-28 20:28:19 +01:00
Wim Taymans
5b868bd424
Update for indexable change
2011-11-28 18:24:03 +01:00
Wim Taymans
468d1dde89
audio: update for clock provider API change
2011-11-28 17:51:41 +01:00
Vincent Penquerc'h
ea78b060a7
Revert "libgstvideo: add a new API to handle QoS events and dropping logic"
...
This reverts commit eb03323fb6
.
*grumble* I managed to merge something I did not mean to.
2011-11-28 13:26:53 +00:00
Vincent Penquerc'h
96374054ac
various: fix pad template leaks
...
https://bugzilla.gnome.org/show_bug.cgi?id=662664
2011-11-28 13:09:02 +00:00
Vincent Penquerc'h
eb03323fb6
libgstvideo: add a new API to handle QoS events and dropping logic
...
https://bugzilla.gnome.org/show_bug.cgi?id=658241
2011-11-28 12:34:43 +00:00
Mark Nauwelaerts
4a58223e4c
audioencoder: elaborate some documentation
2011-11-28 11:37:33 +01:00
Mark Nauwelaerts
9f57d91137
audiodecoder: add some documentation
2011-11-28 11:37:27 +01:00
Mark Nauwelaerts
856a5dd581
audiodecoder: really discard NULL decoded frame altogether
...
... including any timestamp, rather than having that one influence base_ts.
2011-11-28 11:37:23 +01:00
Tim-Philipp Müller
32b14c6ed3
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
ext/vorbis/gstvorbisenc.c
gst/playback/gstdecodebin2.c
gst/playback/gstplaysinkconvertbin.c
gst/videorate/gstvideorate.c
2011-11-26 12:12:59 +00:00
Tim-Philipp Müller
a0639dad38
audio: remove unstable API guards from the audio decoder and encoder base classes
2011-11-25 13:11:54 +00:00
Edward Hervey
d94535832b
gst-libs: Add --warn-all to introspection scanner
...
And let's get fixing those docs :)
2011-11-25 10:31:38 +01:00
Vincent Penquerc'h
44ec58b41b
libgstriff: add a couple tags that need skipping
...
Found in a sample in the wild, appears to be ID3 tag.
https://bugzilla.gnome.org/show_bug.cgi?id=660249
2011-11-24 17:04:19 +00:00
Matej Knopp
817f39608c
Fix printf format compiler warnings for OSX / 64bit
...
https://bugzilla.gnome.org/show_bug.cgi?id=662607
2011-11-22 01:00:59 +00:00
Wim Taymans
8fc2a21775
update for activation changes
2011-11-21 13:35:34 +01:00
Wim Taymans
d0bd5f04c0
update for new scheduling query
2011-11-18 17:58:58 +01:00
Wim Taymans
1ad4d20607
add parent to activate functions
2011-11-18 13:56:04 +01:00
Wim Taymans
285702a1a6
fix for scheduling mode rename
2011-11-18 12:37:10 +01:00
Wim Taymans
7afdff3575
Merge branch 'master' into 0.11
...
Conflicts:
gst-libs/gst/audio/gstaudiodecoder.c
2011-11-17 17:07:41 +01:00
Wim Taymans
3a53451501
tag: update for new typefind
2011-11-17 16:15:46 +01:00
Wim Taymans
e302833e65
add parent to pad functions
2011-11-17 12:48:25 +01:00
Mark Nauwelaerts
69c2c46472
audioencoder: invalidate format info when setup negotiation failed
...
... which ensures nothing subsequently tries to slip past _chain
and into a possibly improperly setup subclass.
2011-11-16 19:03:47 +01:00
Vincent Penquerc'h
f17f918b75
audiodecoder: accept dropped buffers before we know the format
...
This allows flacdec to not emit audio for headers, while allowing
the base audio decoder to keep its timestamps in sync.
2011-11-16 16:54:03 +00:00
Wim Taymans
2202511e77
add parent to query function
2011-11-16 17:25:17 +01:00
Wim Taymans
28157e6f21
_query_peer_*() -> _peer_query_*()
2011-11-15 18:04:17 +01:00
Wim Taymans
026ec68f75
_peer_get_caps() -> _peer_query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
7402d3a3d2
update for _get_caps() -> _query_caps()
2011-11-15 18:04:17 +01:00
Wim Taymans
ab9ffa93f5
change getcaps to query
...
Add sink and src event functions in rtpbasepayload
Add query vmethod to rtpbasepayload.
2011-11-15 18:04:16 +01:00
Vincent Penquerc'h
3e095382a1
audiodecoder: accept dropped buffers before we know the format
...
This allows flacdec to not emit audio for headers, while allowing
the base audio decoder to keep its timestamps in sync.
2011-11-15 13:29:31 +00:00
Robert Swain
a23dff1fbb
audio: Remove some unused variables
2011-11-14 12:49:50 +01:00
Olivier Crête
82827df405
rtcpbuffer: Add feedback message types from RFC 5104
...
These are Codec Control messages (CCM)
https://bugzilla.gnome.org/show_bug.cgi?id=658419
2011-11-14 12:24:16 +01:00
Mark Nauwelaerts
38615abdd8
audiodecoder: improve reverse playback
...
... by doing some more (reverse) timestamp interpolating and
refactoring downstream pushing.
Fixes #661983 .
2011-11-14 12:00:06 +01:00
Tim-Philipp Müller
046dc1097c
tag: convert GstTagDemux's sometimes source pad to an always source pad
...
Originally decodebin couldn't deal with that in 0.10, but now simply
setting the caps when we know them should be enough. Pad activation
mode switching might need some more testing/tweaking with the new
arrangement.
2011-11-14 10:07:06 +00:00
Wim Taymans
fc04bcecbe
fix docs
2011-11-14 10:46:56 +01:00
Tim-Philipp Müller
c76e5804b3
Update for GstURIHandler get_protocols() changes
2011-11-13 23:44:23 +00:00
Tim-Philipp Müller
455f337e3d
gio, appsrc, appsink, cdaudiosrc: update for GstURIHandler API changes
2011-11-13 18:22:06 +00:00
Tim-Philipp Müller
4b0dce5148
Merge remote-tracking branch 'origin/master' into 0.11
...
Conflicts:
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/audio.h
tests/examples/seek/jsseek.c
tests/examples/seek/seek.c
tests/icles/test-colorkey.c
2011-11-13 13:36:29 +00:00
Tim-Philipp Müller
cd21e69913
audio: add GST_AUDIO_INFO_IS_VALID macro and use in audio decoder base class
...
API: GST_AUDIO_INFO_IS_VALID
2011-11-13 13:18:16 +00:00
Tim-Philipp Müller
394b1f8c3c
audio: fix order in LIBADD
...
Local libs must come first.
2011-11-12 12:13:05 +00:00
Tim-Philipp Müller
756c9e2948
audio: fix order in LIBADD
...
Local libs must come first.
2011-11-12 11:58:59 +00:00
Tim-Philipp Müller
dfc13ec632
cdda: rename GstCddaBaseSrc to GstAudioCdSrc and move to libgstaudio
...
Another mini-lib down, to make space for new mini libs.
Remove bogus copyright line while at it.
2011-11-12 11:58:58 +00:00
René Stadler
8023733da8
video: init chroma-size and colorimetry members even if missing from caps
...
This makes a TRUE return from gst_video_info_from_caps fully consistent with
gst_video_info_init.
2011-11-11 19:57:25 +01:00
Wim Taymans
bdf3845498
rtsp: cleanup headers
...
Add padding, fix indentation, remove deprecated stuff
2011-11-11 19:35:33 +01:00
Wim Taymans
107d5a3d05
rtp: fix headers
...
indent, add padding, remove old abidata
2011-11-11 19:21:09 +01:00
Wim Taymans
370dca92d5
remove padding from interfaces
2011-11-11 19:16:54 +01:00
Wim Taymans
43eafea6f6
fix docs
2011-11-11 19:16:12 +01:00
Wim Taymans
fa897def26
mixertrack: fix docs
2011-11-11 19:14:26 +01:00
Wim Taymans
c42e257751
audio: fix docs
2011-11-11 19:13:52 +01:00
Wim Taymans
bfd417644d
pbutils: clean up headers
...
Add padding
indent
2011-11-11 19:01:56 +01:00
Wim Taymans
7fb914d5b6
interfaces: clean up
...
Remove deprecated bits
Fix FIXMES
Indent
Add padding
2011-11-11 18:49:09 +01:00
Wim Taymans
40be2eec9f
fft: fix headers
...
More fft structure into .c file
indent headers
2011-11-11 18:23:22 +01:00
Wim Taymans
b645287775
audio: fix headers
...
Add const to some methods.
Add padding.
Add GType for GstAudioInfo and GstAudioFormatInfo.
Add new/copy/free for GstAudioInfo.
2011-11-11 17:53:03 +01:00
Wim Taymans
b12aabc9da
app: fix headers
2011-11-11 17:52:36 +01:00
Wim Taymans
06a6ab3e32
video: add support for max-framerate
...
Add support for max-framerate in the video helpers and update the video
caps document.
2011-11-11 13:14:21 +01:00
Wim Taymans
b14e3b9adc
remove bogus file
2011-11-11 12:35:50 +01:00
Wim Taymans
5f1312b5d8
rename files to match object names
2011-11-11 12:32:23 +01:00
Wim Taymans
ccf511a5d4
rename BaseRTP -> RTPBase
2011-11-11 12:24:08 +01:00
Wim Taymans
a3416bc11f
rename baseaudio* -> audiobase*
2011-11-11 12:00:52 +01:00
Wim Taymans
ee7072fe7e
rename GstBaseAudio* ->GstAudioBase*
2011-11-11 11:52:47 +01:00
Wim Taymans
3d0ac3ded2
rename files to match contained objects
2011-11-11 11:33:15 +01:00
Wim Taymans
6511f36fdb
audio: GstRingBuffer -> GstAudioRingBuffer
2011-11-11 11:21:41 +01:00
Wim Taymans
b81af23992
audio: rename internal audio ringbuffer
2011-11-11 10:54:39 +01:00
Wim Taymans
ad8f694ec6
remove bogus files
...
They got somehow commited in 7012e88090
2011-11-11 10:39:52 +01:00
Wim Taymans
e338792ab0
update for adapter api changes
2011-11-10 18:32:39 +01:00
Wim Taymans
fe766cf9f4
videosink: reset padding
2011-11-10 17:52:36 +01:00
Wim Taymans
ace51b689f
rtsp: remove deprecated base64 library
2011-11-10 17:39:10 +01:00
Wim Taymans
f8ef57ca48
Merge branch 'master' into 0.11
2011-11-10 17:26:12 +01:00
Wim Taymans
24347217a5
rtp: fix de/payloaders
...
gst_basertppayload -> gst_base_rtp_payload
Add pts/dts support in the depayloader
Remove old timestamp code
Add a default getcaps function so subclasses can chain up to it instead of
relying on the return value of the getcaps function.
2011-11-10 17:18:00 +01:00
Vincent Penquerc'h
0d47c615ad
baseaudiosink: make unsigned properties unsigned, not signed
2011-11-10 15:55:31 +00:00
Wim Taymans
57eaf388e0
audio: fix base class vmethods
2011-11-10 16:24:12 +01:00
Wim Taymans
ea9bc40bf9
audiosrc: avoid deadlock
2011-11-10 16:05:19 +01:00