Carl-Anton Ingmarsson
a71cf4dfb2
gstvdpvideosrcpad: add "template-caps" property
...
The property limits the available output caps
2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
9046f1e089
gstvdpvideosrcpad: replace get_pad_template() with get_template_caps()
2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
b7aa03570c
vdpau: add GstPad subclass GstVdpVideoSrcPad
...
GstVdpVideoSrcPad takes care of caps negotiation and conversion of
GstVdpVideoBuffers to the negotiated output format.
2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
55b108f7ca
vdpaumpegdec: add display property
2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
f9e00471e3
vdpau: use local libgstvdp headers
2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
a801e81efb
vdpaumpegdec: add src_getcaps func
...
this way we can return only the caps we really support, since we're able to query vdpau
about it
2009-11-22 22:38:07 +01:00
Carl-Anton Ingmarsson
1b4094e5e6
vdpaumpegdec: add support for negotation of x-raw-yuv output
2009-11-22 22:38:07 +01:00
Carl-Anton Ingmarsson
79c600f7be
vdpau: create a libgstvdp library.
...
The library contains GstVdpDevice GstVdpVideoBuffer and GstVdpOutputBuffer. The
library will (apart from the plugins here) be used by the upcoming gst-ffmpeg
vdpau support.
2009-11-22 22:38:07 +01:00
Carl-Anton Ingmarsson
8ba3df0939
vdpaumpegdec: check for sink element returning wrong buffer type
2009-11-22 22:38:07 +01:00
Carl-Anton Ingmarsson
325bd7aad2
vdpau: remove unneeded gst_vdp_video_buffer_add_reference function
2009-11-22 22:38:07 +01:00
Carl-Anton Ingmarsson
26d48501e0
vdpaumpegdec: small indent fix
2009-09-16 10:25:45 +01:00
Carl-Anton Ingmarsson
b7d5e59c9a
vdpaumpegdec: fix gst_byte_reader_masked_scan_uint32 usage
2009-09-16 10:25:45 +01:00
Carl-Anton Ingmarsson
49835d98a7
vdpaumpegdec: use gst_byte_reader_masked_scan_uint32 instead of our own version
2009-09-16 10:25:44 +01:00
Carl-Anton Ingmarsson
d849563bda
vdpau: split gst_vdp_mpeg_dec_reset into start and stop
2009-09-16 10:25:42 +01:00
Carl-Anton Ingmarsson
58c8198f4d
vdpau: don't put the GstVdpDevice in the caps
2009-09-16 10:25:41 +01:00
Carl-Anton Ingmarsson
054840555b
vdpau: make GstVdpVideoYUV implement pad_alloc
...
also change GstVdpMpegDec and GstVdpYUVVideo to make use of this
2009-09-16 10:25:41 +01:00
Jan Schmidt
aba7cfa064
vdpau: Fix a compiler warning about uninitialised variable use.
2009-07-15 18:28:46 +01:00
Jan Schmidt
deb03ee2ca
VDPAU: Add some debug statements
2009-06-20 15:21:47 +01:00
Jan Schmidt
8ded28b126
VDPAU: Fix up caps in vdpaumpegdec. Remove extra semicolon
...
Fix a typo in the caps for the VDPAU mpeg decoder (chroma_type->chroma-type)
and use the GST_VDP_VIDEO_CAPS for the pad template.
Remove a stray semicolon.
2009-06-20 15:21:46 +01:00
Carl-Anton Ingmarsson
b4fa8a4ef0
vdpaumpegdec: use fixed src caps
2009-06-20 15:21:46 +01:00
Carl-Anton Ingmarsson
53a5272f73
vdpaumpegdec: drop all frames before a GOP when we seek
2009-06-20 15:21:46 +01:00
Carl-Anton Ingmarsson
aff91bb89a
vdpaumpegdec: small cleanup
2009-06-20 15:21:46 +01:00
Carl-Anton Ingmarsson
64100e4737
vdpaumpegdec: send newsegment event if only the rate has been updated
2009-06-20 15:21:45 +01:00
Carl-Anton Ingmarsson
636ae49bee
vdpaumpegdec: use mutex to protect mpeg_dec->seeking from concurrent access
2009-06-20 15:21:45 +01:00
Carl-Anton Ingmarsson
3fa60712f2
vdpaumpegdec: use gst_pad_get_parent for threadsafety
2009-06-20 15:21:45 +01:00
Carl-Anton Ingmarsson
702cc4a03f
vdpaumpegdec: further work on seeking
2009-06-20 15:21:45 +01:00
Carl-Anton Ingmarsson
d65d4c40f5
vdpaumpegdec: small cleanups
2009-06-20 15:21:45 +01:00
Carl-Anton Ingmarsson
e9f028957d
vdpaumpegdec: set GST_BUFFER_FLAG_DELTA_UNIT on non I_FRAME's
2009-06-20 15:21:44 +01:00
Carl-Anton Ingmarsson
8619160ec8
vdpaumpegdec: rename gstvdpmpegdecoder.[ch] to gstvdpmpegdec.[ch]
2009-06-20 15:21:44 +01:00