Tim-Philipp Müller
8cede4ae6a
gst, sys: remove GstImplementsInterface usage
2011-06-26 23:16:08 +01:00
Wim Taymans
dd7e605fec
x11: let upstream know we support cropping
2011-06-23 16:31:21 +02:00
Wim Taymans
df94f2da81
x11: add image cropping
...
Use the cropping metadata to crop the image.
Remove deprecated display-region property to set a clipping rectangle.
2011-06-23 12:55:13 +02:00
Wim Taymans
aa73f69f2d
x11: use frame copy functions
2011-06-22 15:38:24 +02:00
Wim Taymans
8fbdac9fc6
x11: delay pool activation
...
don't activate the pool we return in the ALLOCATION query because upstream might
still want to configure it
2011-06-20 17:39:05 +02:00
Wim Taymans
cf91192668
x11: handle new bufferpool metadata api
...
Provide a method to list the supported metadata apis.
Activate the video metadata on buffers when a downstream element configured the
bufferpool to support that api.
2011-06-20 13:28:12 +02:00
Wim Taymans
5eeb468c75
x11: use GstVideoInfo to parse caps
...
Use GstVideoInfo to keep track of the configured format.
Add GstMetaVideo to buffers, disabled by default for now until we can have it
enabled with a property on the bufferpool configuration.
2011-06-17 17:54:52 +02:00
Wim Taymans
0d75dc5a0b
x11: make function static
...
Don't export buffer creation function, we need to use the bufferpool
now.
2011-06-17 17:27:22 +02:00
Wim Taymans
d93129d8da
-base: port to GstVideoFrame API
2011-06-17 15:41:31 +02:00
Wim Taymans
d06f599193
-base: port elements to new video caps
2011-06-16 12:52:13 +02:00
Wim Taymans
9c54ca5254
-base: update for buffer API change
2011-06-13 16:32:56 +02:00
Wim Taymans
a8971beee0
ximage: fix alignment and size
...
Set the right alignment and size in the bufferpool.
2011-06-11 20:47:01 +02:00
Wim Taymans
1c8324a0d1
update for bufferpool api change
2011-06-11 18:54:44 +02:00
Sebastian Dröge
bf08ca7020
Merge branch 'master' into 0.11
2011-05-26 13:54:09 +02:00
Sebastian Dröge
34ae792075
ximagesink: Fallback to non-XShm mode if allocating the XShm image failed
...
Fixes bug #630442 .
2011-05-26 12:30:31 +02:00
Sreerenj Balachandran
b977d550df
ximagesink: Remove g_assert from interface query
2011-05-26 09:05:55 +02:00
Wim Taymans
453091137e
x11: free bufferpool whe activation fails
2011-05-24 09:45:39 +02:00
Wim Taymans
f1980aa051
ximagesink: implement ALLOCATION query
2011-05-19 15:56:57 +02:00
Sebastian Dröge
6392dfc072
sys: Update for caps/pad template related API changes
2011-05-17 13:06:01 +02:00
Sebastian Dröge
6ed5013733
ximagesink: Update for negotiation related API changes
2011-05-16 15:35:28 +02:00
Wim Taymans
c81b1b8019
-base: remove metadata (des)serialize functions
2011-05-11 19:12:42 +02:00
Sebastian Dröge
061c4eb9e3
ximagesink: Send reconfigure event upstream if the window geometry changes
2011-05-05 15:23:24 +02:00
Sebastian Dröge
092438200c
ximagesink: Add caps with the current window geometry to the top in getcaps
2011-05-05 15:23:17 +02:00
Wim Taymans
86a4771f8e
remove buffer_alloc
2011-04-29 13:28:17 +02:00
Sebastian Dröge
8336e2027d
sys: Use G_DEFINE_TYPE instead of GST_BOILERPLATE
2011-04-19 11:44:14 +02:00
Sebastian Dröge
0759ce8533
Merge branch 'master' into 0.11
2011-04-18 13:23:32 +02:00
Sebastian Dröge
75c337c726
x(v)imagesink: If NULL caps are passed to buffer_alloc() do fallback allocation
...
Fixes bug #647857 .
2011-04-18 11:24:57 +02:00
Wim Taymans
c8fee4a4b3
ximage: don't share the memory
...
We can't share the memory on the buffer with other buffers because the metadata
X(v)Image points to it and we don't want it to go away.
2011-04-07 16:07:57 +02:00
Wim Taymans
1ae67927cc
ximage: more fixes
2011-04-06 17:54:28 +02:00
Wim Taymans
518ededd16
ximage: more fixes
2011-04-06 16:26:12 +02:00
benjamin gaignard
15c49a4d63
xvimagesink: use bufferpool
...
Improve bufferpool handling in ximagesink.
Implement bufferpool handling on xvimagesink.
Based on patches from benjamin gaignard <benjamin.gaignard@linaro.org>
2011-04-06 12:28:46 +02:00
Wim Taymans
5244770775
plugins: fix for new memory API
2011-03-27 17:16:10 +02:00
Wim Taymans
f246c0e97d
meta: update for new API
2011-03-08 17:01:41 +00:00
Wim Taymans
92f9995d98
ximagesink: make metadata methods more like core
2011-03-04 18:32:53 +01:00
Wim Taymans
825c650964
ximagesink: reset the pool
2011-03-04 16:21:55 +01:00
Wim Taymans
e993bde873
ximagesink: implement buffer_alloc from the pool
...
Use the bufferpool for pad_alloc when we are asked for the same caps as the
bufferpool.
2011-03-04 16:21:54 +01:00
Wim Taymans
ea05fe1278
ximage: rewrite the buffer pool in ximagesink
...
Rewrite the pooling in ximagesink to extend from the bufferpool base class in
core. Move some code to a comon place and refactor.
2011-03-04 16:21:54 +01:00
Wim Taymans
c7c8f3e13d
meta: fix for new API
2011-02-28 11:50:04 +01:00
Wim Taymans
ce7498e7c3
ximagesink: experiment with convenience macros
2011-02-28 11:50:04 +01:00
Wim Taymans
a1a237d0ea
ximage: fix macros
2011-02-28 11:50:04 +01:00
Wim Taymans
08bfcad434
ximage: reimplement buffer pooling with metadata
...
Use the buffer metadata to get back to the extra info we can use to optimize the
video rendering.
2011-02-28 11:50:04 +01:00
Wim Taymans
55c9ca592f
metadata: implement extra buffer data with metadata
...
Use buffer metadata to attach arbitrary extra data to buffers.
2011-02-28 11:50:04 +01:00
Wim Taymans
e78903e662
X11: port imagesinks to new miniobjects
...
Remove the subbuffer from X11 sinks and use the private pointer to store a
single buffer metadata with the extra info.
2011-02-28 11:50:04 +01:00
Sebastian Dröge
334a739083
ximagesink: Add docs for the new property
...
Including Since markers
2010-12-02 19:04:28 +01:00
Andrea Sebastianutti
2ad9966163
ximagsink: Add read-only properties window-width and window-height
2010-12-02 19:04:27 +01:00
David Schleef
6dc02137fb
xoverlay: Add guintptr versions of functions
...
And deprecate the gulong versions. This is to support platforms
where sizeof(unsigned long) < sizeof(void *). Fixes #627565 .
API: Add gst_x_overlay_set_window_handle()
API: Deprecate: gst_x_overlay_set_xwindow_id()
API: Add gst_x_overlay_got_window_handle()
API: Deprecate: gst_x_overlay_got_xwindow_id()
API: Add GstXOverlay::set_window_handle()
API: Deprecate: GstXOverlay::set_xwindow_id()
2010-09-15 00:10:23 -07:00
Philippe Normand
0ee588a3a6
ximagesink: Ask pad peer to accept new caps once only
...
In buffer_alloc, if the buffer caps are new, call
gst_pad_peer_accept_caps once only, it's useless to call it in the
cases where we know it will always fail.
Fixes bug #621190
2010-06-18 06:11:36 +02:00
Sebastian Dröge
6914986cb3
ximagesink: Check if the X context is allocated before using it
...
It should be allocated at these places already or the state changes
would have failed... but better add an additional check here.
2010-05-10 12:44:41 +02:00
Sebastian Dröge
df5c772c44
ximagesink: Post an error message on the bus if no supported pixmap formats can be found
...
Might fix bug #615851 .
2010-05-10 12:28:29 +02:00
Stefan Kost
f5469d42de
x(v)imagesink: use gst_caps_can_intersect() more
...
In place where we just need to know whether caps intersect, we can use this
quicker function.
2010-05-06 08:22:36 +03:00