Tim-Philipp Müller
ad0781a7d4
directdrawsink: port GstXOverlay bits to new API
...
Don't use deprecated API.
2010-10-12 16:17:54 +01:00
Damien Lespiau
2833cc4375
dvbsrc: Fix example usage, bandwidth=8 not 8MHz
...
The bandwidth property is enum that takes the values 8, 7, 6, AUTO not
8MHz.
2010-10-10 14:54:45 +01:00
Olivier Crête
b7143de618
shm: Add C++ protection
...
Add c++ protection in the relevant places
2010-10-08 17:01:29 -04:00
Sebastian Dröge
c5023baecf
vdpau: Check return values of the bitreader functions
2010-10-03 15:55:22 +02:00
Edward Hervey
849d3ec371
vdpau: Use the new XOverlay API
...
Fixes #630254
2010-09-21 16:31:46 +02:00
Sebastian Dröge
51e083fe8d
dshowdecwrapper: Don't use GST_FLOW_IS_FATAL()
...
And don't error out on UNEXPECTED
2010-09-21 12:29:06 +02:00
Carl-Anton Ingmarsson
b2ce3aab96
vdpauvideopostprocess: set new framerate on output caps instead of input caps
...
It's not allowed to change the caps provided by the setcaps function.
https://bugzilla.gnome.org/show_bug.cgi?id=628326
2010-09-06 12:25:48 +02:00
Carl-Anton Ingmarsson
709a65cddf
vdpauh264dec: parse "pixel-aspect-ratio" from stream
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
5c03466309
vdpau: remove non working unused code from GstBaseVideoDecoder
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
f2fb66d376
vdpau: GstBaseVideoDecoder set default par to 1/1
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
885845a678
vdpau: remove gst_base_video_decoder_get_current_frame
...
we now pass the current frame to GstBaseVideoDecoder::parse_data
also fixup some errors in vdpaumpeg4dec so that it now gives correct output
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
08e6a65f08
vdpau: rework GstBaseVideoDecoder timestamping
...
timestamps are now chosen in the following order:
upstream -> parsed by decoder -> calculated from timestamp offset
we also check the timestamps supplied from upstream/decoder to see if they
atleast is increasing.
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
624c50bac6
vdpau: fix invalid unref
2010-09-05 13:52:40 +02:00
Carl-Anton Ingmarsson
629b6ff099
vdpaumpeg4dec: fix typo in default_non_intra_quant_matrix
2010-08-09 00:36:01 +02:00
Carl-Anton Ingmarsson
8612a936ec
vdpau: add mpeg4 part2 decoder
2010-08-09 00:36:01 +02:00
Tim-Philipp Müller
e2571b9f46
dvbsrc: align actual default values for properties with defaults in param spec
...
https://bugzilla.gnome.org/show_bug.cgi?id=621404
2010-08-06 11:28:11 +01:00
Carl-Anton Ingmarsson
b6f22c519d
vdpau: fix destruction of GstVdpDevice when it failed to open
...
only close display in finalize and check if vdp_decoder_destroy is available
before we use it
2010-08-06 12:14:30 +02:00
Carl-Anton Ingmarsson
8996b80d62
vdpausink: use separate mutex for device locking
...
we can't use GST_OBJECT_LOCK since that cause problems when we try to post
errors, due to gst_element_post_message also taking the GST_OBJECT_LOCK
2010-08-06 12:14:30 +02:00
Andoni Morales Alastruey
c2c32fe773
dshowvideosink: close our own window when changing the window id
...
If we created the window, it needs to be closed after setting a new
window id.
https://bugzilla.gnome.org/show_bug.cgi?id=574290
2010-08-06 10:21:48 +01:00
Raimo Jarvi
7ab007bafe
dshowvideosink: allow changing window ID whilst in PLAYING state
...
https://bugzilla.gnome.org/show_bug.cgi?id=574290
2010-08-06 10:20:19 +01:00
Carl-Anton Ingmarsson
8f47c060d7
vdpau: set back plugin ranks to GST_RANK_NONE
...
the previous change was not meant to slip in
2010-08-02 18:33:46 +02:00
Carl-Anton Ingmarsson
008a049b20
vdpau: slightly fix GstBaseVideoDecoder timestamping
...
clear timestamps on flush and properly calculate the frame's end offset
2010-08-02 18:25:43 +02:00
Carl-Anton Ingmarsson
a07cee756a
vdpau: init debug category in gst_vdp_video_buffer_get_type
2010-08-02 18:25:43 +02:00
Carl-Anton Ingmarsson
b37869c315
vdpau: add error reporting to device creation
2010-07-30 22:27:49 +02:00
Carl-Anton Ingmarsson
57e05fdc76
vdpau: fix small typo in GstBaseVideoDecoder
2010-07-30 16:54:40 +02:00
Carl-Anton Ingmarsson
2282e9f5df
vdpau: use gst_vdp_yuv_to_video_caps in GstVdpVideoSrcPad to transform set caps
...
this way we'll keep other all other fields in the caps which we didn't take in
account when we manually created the "video/x-vdpau-video" caps
2010-07-30 14:47:43 +02:00
Carl-Anton Ingmarsson
472cdc4c61
vdpau: rename gst_vdp_video_buffer_parse_yuv_caps and move it to gstvdputils.h
2010-07-30 14:44:09 +02:00
Carl-Anton Ingmarsson
726290de21
vdpau: GstVdpOutputSrcPad use gst_pad_alloc when outputting video/x-raw-rgb
...
we implement "acceptcaps" to prevent us from getting a buffer with different
width and height from what we requested.
2010-07-30 14:07:22 +02:00
Carl-Anton Ingmarsson
ac8dfbea82
vdpau: properly remove "chroma-type" field from transformed caps
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
aa193a7b43
vdpauvideopostprocess: use GstVdp[Video|Output]BufferPool to cache our buffers
...
This way we'll reuse the GstVdp[Video|Output]Buffers if they're of the same
size and chroma-type/rgba-format.
Also remove gst_vdp_output_src_pad_negotiate and set a "setcaps" function on
GstVdpOutputSrcPad instead, leaving negotiation to GstVdpVideoPostProcess.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
57175ece9e
vdpausink: use GstVdpOutputBufferPool to alloc our buffers
...
This way we'll reuse our GstVdpOutputBuffers if they're of the same size and
rgba-format
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
c0e1fba089
vdpau: use GstVdpVideoBufferPool in GstVdpVideoSrcPad
...
We also don't pad_alloc our GstVdpVideoBuffers anymore since we don't support
downstream negotation anyway.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
2d9132c590
vdpau: add GstVdpOutputBufferPool
...
GstVdpVideoOutputPool is a subclass of GstVdpBufferPool that caches
GstVdpOutputBuffers
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
d82c4acd8a
vdpau: add GstVdpVideoBufferPool
...
GstVdpVideoBufferPool is a subclass of GstVdpBuffer that caches
GstVdpVideoBuffers
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
7320eedc04
vdpau: add GstVdpBufferPool base class
...
GstVdpBufferPool will be used to cache GstVdp[Video|Output]Buffers since
creating these can be a costly operation on some hardware.
2010-07-30 11:33:13 +02:00
Carl-Anton Ingmarsson
093fcacc20
vdpau: remove GstVdpOutputSrcPad "template-caps" property
...
instead we do as GstVdpVideoSrcPad and use the "templ" property of GstPad,
which enable us to change the signature of gst_vdp_output_src_pad_new to match
gst_pad_new_from_template
2010-07-30 11:32:00 +02:00
Carl-Anton Ingmarsson
5626857ac4
vdpau: remove GstVdpOutputSrcPad code to retrieve the device from downstream
...
we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.
Instead we now simply aquire the device in vdpauvideopostprocess when we're
going into PAUSED.
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson
00ad3c8aeb
vdpau: cleanup GstVdpDecoder opening of it's GstVdpDevice
...
we now no longer try to get the GstVdpDevice from downstream since it in
practice didn't give us anything and complicates the code alot. Nevertheless if device
distribution should be done there's probably a lot better ways to do it.
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson
d564e1bf19
vdpau: fix GstBaseVideoDecoder returning wrong GstStateChangeReturn
...
when gst_base_video_decoder_[start|stop] fails we now return
GST_STATE_CHANGE_FAILURE instead of returning what the parent class returns
2010-07-30 11:31:59 +02:00
Carl-Anton Ingmarsson
86860beeae
vdpaumpegdec: remove unneeded setting of buffer flags
...
GstBaseVideoDecoder sets GST_VIDEO_BUFFER_TFF for us and
GST_BUFFER_FLAG_DELTA_UNIT doesn't make sense for decoded frames.
2010-07-30 11:31:59 +02:00
Andoni Morales
0390f0d765
dshowvideosrc: don't make a range if min==max
...
Fixes bug #625138
2010-07-29 16:08:03 +02:00
Tim-Philipp Müller
8559d5b9e1
vdpau: dist new header file
...
Fix make distcheck.
2010-07-27 18:07:00 +02:00
Julien Moutte
a51d318759
dshowvideosink: Improvements contributed from the Moovida projet.
...
* Inherit from GstVideoSink
* Implement GstNavigation interface
* Proper COM initialization for threaded environments
* Fix Window resource leak
* Add EVR support for better video scaling on Windows Vista and above
* Only apply PAR scaling when the keep_aspect_ratio property is set to stay
consistent with the other Linux sinks
* Prevent an infinite loop with the wndproc chain
* Fix debugging messages to use the object instance
2010-07-23 19:41:29 +02:00
Carl-Anton Ingmarsson
0b3c6e4b9e
vdpau: add gst_vdp_decoder_render and gst_vdp_decoder_init_decoder
2010-07-23 00:29:34 +02:00
Carl-Anton Ingmarsson
b4e447375b
vdpauh264dec: try to calculate framerate if we don't get one from upstream
2010-07-19 21:55:31 +02:00
Thijs Vermeir
d15418d6aa
vdpau: fix segfault when vdpau device could not be created
2010-07-19 11:42:26 +02:00
Carl-Anton Ingmarsson
7462a64398
vdpauh264dec: fix problem when encountering GST_NAL_AU_DELIMITER
2010-07-18 21:16:23 +02:00
Sebastian Dröge
78639dd379
wasapisrc: Use new gst_audio_clock_new_full()
2010-07-16 17:59:15 +02:00
Carl-Anton Ingmarsson
2d870ee7fd
vdpauh264dec: calculate width and height from bitstream info
2010-07-15 13:23:52 +02:00
Carl-Anton Ingmarsson
ecbf5a4e30
vdpauh264dec: fix usage of g_bit_storage
2010-07-15 11:10:03 +02:00
Carl-Anton Ingmarsson
b3ad9d7d04
vdpaumpegdec: rename zigzag matrix
2010-07-14 11:19:49 +02:00
Carl-Anton Ingmarsson
c27468f1a1
vdpauh264dec: use g_bit_storage instead of log2
...
log2 caused compile issues on certain platforms
2010-07-14 11:19:49 +02:00
David Hoyt
e467a3e14b
winks: fix compilation by using the right function
...
Fixes #623883 .
2010-07-08 21:54:28 +01:00
Michael Smith
f1ff58039a
dshowdecwrapper: reset flow return state tracker after flush to avoid spurious
...
errors after flushing in some cases.
2010-07-07 10:34:51 -07:00
Philippe Normand
0c38d700ca
dshowvideosink: Update renderer aspect ratio after force-aspect-ratio property update.
...
A new virtual method has been added to the RendererSupport class. It
is called during the initial renderer configuration and each time the
force-aspect-ratio property of the sink is updated.
Fixes bug #623272 .
2010-07-07 07:44:20 +02:00
Andoni Morales Alastruey
d69e01ed20
dshowaudiodec: Fix compilation error
...
Closes #623713
2010-07-06 23:43:09 +01:00
Sebastian Dröge
dfeaa7709b
vdpau: Check for log2 and only use it if it's available
2010-06-29 11:21:30 +02:00
Carl-Anton Ingmarsson
380ec88b4c
vdpauh264dec: don't use deprecated g_ptr_array_free incase glib >= 2.22
2010-06-28 12:00:55 +02:00
Carl-Anton Ingmarsson
0aa4d01c0f
vdpauvideopostprocess: fix resizing of output
2010-06-28 11:19:27 +02:00
Carl-Anton Ingmarsson
525c7c3933
vdpauh264dec: don't use glib 2.22 functions
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
d49cbe69e1
vdpau: change GstBaseVideoDecoder state api
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
7274d9f142
vdpauh264dec: free frames on finalize in GstH264DPB
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
d930556a47
vdpau: add display property to GstVdpDecoder
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
ec815085bf
vdpauh264dec: rename GstVdpH264Frame to GstH264Frame
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
00fd85c0f5
vdpau: fix error handling when plugging "vdpauvideopostprocess ! fakesink"
2010-06-28 11:11:52 +02:00
Carl-Anton Ingmarsson
8e59521efa
vdpau: add error parameter to gst_vdp_video_src_pad_get_device
2010-06-28 11:11:51 +02:00
Sebastian Dröge
159b43d17c
vdpau: Link to $(LIBM) for log2 and friends
2010-06-28 10:47:52 +02:00
Carl-Anton Ingmarsson
d13a122a56
vdpau: add GstVdpDecoder base class
2010-06-26 21:27:32 +02:00
Carl-Anton Ingmarsson
71620e7fbb
vdpauh264dec: add gst_h264_dpb_set_output_func function
2010-06-26 21:27:32 +02:00
Tim-Philipp Müller
730c59e52a
vdpay: fix build in uninstalled setup
...
Add GST_PLUGINS_BASE_CFLAGS to CFLAGS so it finds the gst/video/video.h
headers in an uninstalled setup. Also reshuffle order.
2010-06-24 23:57:16 +01:00
Carl-Anton Ingmarsson
5fbbbaccc3
vdpauh264dec: fix unitialized variable
2010-06-24 22:14:38 +02:00
Carl-Anton Ingmarsson
731d160e6d
vdpauh264dec: fix initalization of GstNalReader cache
2010-06-24 22:07:45 +02:00
Carl-Anton Ingmarsson
cfad4aa3d4
vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder using CFLAGS
2010-06-24 16:28:36 +02:00
Carl-Anton Ingmarsson
746dcfd09e
Revert "vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder"
...
This reverts commit aa0444f204
.
2010-06-24 16:28:36 +02:00
Carl-Anton Ingmarsson
aa0444f204
vdpau: rename GstBaseVideoDecoder to SatBaseVideoDecoder
2010-06-24 13:21:34 +02:00
Carl-Anton Ingmarsson
e312e2b121
vdpauh264dec: use bitshifts instead of pow
2010-06-23 22:33:05 +02:00
Carl-Anton Ingmarsson
faa0e1c2eb
vdpauh264dec: add interlaced = false to sink caps
...
we don't support interlaced content yet
2010-06-23 22:22:20 +02:00
Carl-Anton Ingmarsson
7f3252e90a
vdpauh264dec: fix parsing of scaling lists
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
dfeff590b2
vdpauh264dec: fix reading of signed exp golomb
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
90077a6f2b
vdpau: fixup decoder timestamping
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
3826b3b57b
vdpau: remove parse_codec_data from GstBaseVideoDecoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
8eed6f2ab9
vdpauh264dec: fix initialization of fallback scaling matrix
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
3ea3a084e4
vdpauh264dec: improve further
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
322d1ff946
vdpauh264dec: now works for simple streams
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
80749da166
vdpau: change gst_vdp_video_src_pad_get_device behaviour
...
it now creates the device if it's not available
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
f8846a463d
vdpau: more work on h264 decoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
686d2d2303
vdpau: add beginning of h264 decoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
0490cb89c6
vdpau: base vdpaumpegdec on GstBaseVideoDecoder
2010-06-23 21:51:53 +02:00
Carl-Anton Ingmarsson
4926c6c617
vdpauvideopostprocess: fix small bug
2010-06-23 21:51:52 +02:00
Carl-Anton Ingmarsson
a9687846f6
vdpaumpegdec: use READ_UINT[8|16|32] macros
2010-06-23 21:51:52 +02:00
Carl-Anton Ingmarsson
6933d12a9b
vdpau: remove gst_vdp_video_src_pad_set_caps
2010-06-23 21:51:52 +02:00
Tim-Philipp Müller
0b3f5bfed8
vcdsrc: minor clean-up
...
Use gst_uri_has_protocol().
2010-06-12 00:19:00 +01:00
Olivier Crête
adcb34378a
shmsink: Verify that pipe exists before resizing it
2010-06-04 16:14:06 -04:00
Olivier Crête
0aba59782b
shm: Add copyright notices to shmalloc.[ch] and shmpipe.[ch]
2010-06-04 15:54:33 -04:00
Tim-Philipp Müller
26e9df08b8
shm: fix debug messages
...
Misc. printf format fixes and missing arguments.
2010-06-03 20:51:57 +01:00
Olivier Crête
4556222718
shmsink: Make static function static
2010-06-03 15:27:43 -04:00
Olivier Crête
457b5d8ab7
shm: Use gst_element_class_set_details_simple
2010-06-03 15:27:43 -04:00
Olivier Crête
21686e3077
shm: Move to sys/ since it doesn't exist on windows
2010-06-03 15:27:43 -04:00
Bastien Nocera
af97600798
vcdsrc: change VCD URI handler to the DVD scheme
...
The current URI parsing code doesn't allow setting the "device"
from which the VCD should be read.
Use the same structure as the DVD URI handling instead, so that
devices can be passed in the URI, as well as track number.
Up the rank of the VCD plugin so that it can be auto-plugged and
used by Totem.
https://bugzilla.gnome.org/show_bug.cgi?id=340986
2010-05-22 10:30:44 +01:00
David Schleef
c3d4977761
Split out GST_PLUGINS_BAD_CFLAGS from GST_CFLAGS
...
Move include directives for gst-libs into GST_PLUGINS_BAD_CFLAGS,
and fix all the Makefiles that use it. This is so that all the
include directories are added in the proper order: first the
directories in srcdir/builddir, then gst-plugins-base dirs, then
gstreamer dirs. If the order is wrong, installed headers may be
used instead of local headers and/or uninstalled headers from -base.
2010-05-19 18:24:02 -07:00