Commit graph

1559 commits

Author SHA1 Message Date
Ole André Vadla Ravnås
ebd2a6d6e9 applemedia: don't push synchronously from callback
The codec that called us might be holding locks to shared resources, so
we should never push downstream from within its buffer callback.

Note that a GstBufferList is not used here because we need to preserve
the buffer metadata held by our GstBuffer subclasses.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
6b63954f63 vtenc: bump H.264 level from 1.3 to 3.0
This should be turned into a property.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
6e909dc474 celvideosrc: add basic device selection support 2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
2382f10b98 cvapi: add wrapper for IO surface access
To be used in a future video sink for zero-copy rendering.
2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
420943972c celapi: add capture port type constants 2010-11-11 00:22:31 +01:00
Ole André Vadla Ravnås
d10e029f51 applemedia: biplanar is actually NV12, not I420
D'oh!
2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
d865feca82 vtenc: remove keyframe enforcement workaround
Was only needed for old iOS where the H.264 encoder didn't support
kVTEncodeFrameOptionKey_ForceKeyFrame.
2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
abba3a4126 cvapi: add a few extra bits of wrapping 2010-11-08 23:58:25 +01:00
Ole André Vadla Ravnås
b4654f537f applemedia: lock CVPixelBuffer read-only
As per Apple's docs, this may improve performance by avoiding redundant
invalidations of existing caches of the buffer contents.
2010-11-08 23:58:24 +01:00
Ole André Vadla Ravnås
6428d306ea celvideosrc: put planar first in template caps 2010-11-08 14:02:50 +01:00
Ole André Vadla Ravnås
c2672f71cd applemedia: improve vtenc/vtdec performance
Profiling of H.264 encode and decode revealed that conversions
between packed and planar were happening behind the scenes.

Hence we now choose I420 instead of YUY2.
2010-11-08 14:02:50 +01:00
Ole André Vadla Ravnås
1eb9190ad9 celvideosrc: measure fps when statistics is enabled
Also refactor timestamping slightly.
2010-11-05 16:52:58 +01:00
Ole André Vadla Ravnås
b7368c34fd celvideosrc: update to new Celestial and MediaToolbox APIs
This means celvideosrc is no longer compatible with iOS 3.x.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
bf095e891f celvideosrc: fix debug category description 2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
517f3a75c2 celapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
da5da05540 mtapi: update to reflect new API on iOS 4.x
Also add remaining property constants for device and stream.
2010-11-05 15:32:37 +01:00
Ole André Vadla Ravnås
8402211bac applemedia: make video source element details consistent
Inspired by the v4l2src element details.
2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
445d7502c4 applemedia: consistently use gst_element_class_set_details_simple 2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
5d71ad0d52 celvideosrc: update e-mail address 2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
44df8abea8 applemedia: rename iphonecamerasrc to celvideosrc
This is in order to improve consistency with the other three sources.
2010-11-04 19:27:25 +01:00
Ole André Vadla Ravnås
8b22f855ec avfvideosrc: don't explicitly empty the buffer queue
We're holding the only reference to it so there's no need to explicitly
empty it right before letting go of our reference.
2010-11-04 17:58:59 +01:00
Ole André Vadla Ravnås
89e5b60130 avfvideosrc: make buffer offset start from zero 2010-11-04 17:52:05 +01:00
Ole André Vadla Ravnås
86e2539816 qtkitvideosrc: implement zero-copy by using buffer-factory
This means we'll wrap each CoreVideo buffer inside a GstBuffer instead of
making a copy.
2010-11-04 17:52:05 +01:00
Ole André Vadla Ravnås
835b2988b6 bufferfactory: add support for wrapping CVBuffer 2010-11-04 17:52:05 +01:00
Ole André Vadla Ravnås
3a44d4c1f9 qtkitvideosrc: fix up refcounting
Should keep a strong reference to the device, but we don't need to manage
the reference count of elements of an NSMutableArray as it takes care of
that for us.
2010-11-04 17:52:04 +01:00
Ole André Vadla Ravnås
b39609b405 qtkitvideosrc: simplify timestamping algorithm
Aligning timestamps on duration boundaries, skipping frames and so forth
are clearly things that fall outside the scope of a video source.
2010-11-04 17:52:04 +01:00
Ole André Vadla Ravnås
3ba76f825d applemedia: add new iOS video source based on AVFoundation
This element makes use of the documented AVFoundation framework made
available starting with iOS 4.0, and hence this means we can finally
capture video using a public API.
2010-11-04 14:32:10 +01:00
Ole André Vadla Ravnås
50c6e05924 applemedia: fix stream-format caps used for H.264
The stream-format's "avc-sample" member is now called just "avc".
2010-11-04 14:32:09 +01:00
Ole André Vadla Ravnås
b873920eaa applemedia: update e-mail addresses 2010-11-04 14:32:09 +01:00
Ole André Vadla Ravnås
c6b32b42de applemedia: switch vtapi to CFTypeRef style typedefs 2010-11-02 23:14:26 +01:00
Ole André Vadla Ravnås
2e349576eb applemedia: support public version of CoreMedia
Also rename the relevant API so we mirror the public API more closely, and
switch to CoreFoundation CFTypeRef style typedefs. We still support the old
private CoreMedia in order to not break OS X support.

This means that vtenc and vtdec are now compatible with iOS 4.x, and in
theory also future versions of OS X, where this API may turn public like
it has on iOS.
2010-11-02 23:14:26 +01:00
Ole André Vadla Ravnås
cc1c6ee9e3 winks: work around shutdown deadlock
GetOverlappedResult() might never return with some drivers. Time out
after 1000 ms. We cannot really fix this without either:
1) Controlling the streaming thread so we can do CancelIo() from that
   thread.
2) Switch to using IO completion ports.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
a7a04fe601 winks: remove JPEG validation hack
This should clearly not be done in a video source.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
35ed06fba2 winks: set PrioritySubClass to KSPRIORITY_NORMAL instead of 1
In order to match the reference implementation.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
c1d16c4fee winks: retry when KsCreatePin fails with ERROR_NOT_READY
Turns out that the reference implementation does this, hence we need to
mirror this behaviour. This typically happens with hardware that takes
some time to initialize.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
bb17394e76 winks: improve framerate fraction conversions
* For instance 7.5 fps should be represented as 15/2 instead of 7/1.
* Clamp AvgTimePerFrame and dwBitRate to account for rounding errors.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
d282a1d380 winks: improve error-handling
Most important part here is special-casing "device busy" so the application
is able to provide better feedback when another application is using the
device.
2010-10-28 17:08:41 +02:00
Ole André Vadla Ravnås
cddfa50d92 winks: performance improvements
* Make the driver write directly into each GstBuffer to avoid memcpy().
* Don't memset() the buffer before reusing it.
* Recycle memory by keeping two spare buffers. Two because the sink
  downstream may keep a ref to the previous buffer.

Note that we align buffers on highest possible byte boundary (4096) so we
don't have to take into account what kind of alignment the driver requires.
2010-10-28 17:08:35 +02:00
Ole André Vadla Ravnås
f2b4d8990d winks: store priv pointer instead of looking it up 2010-10-28 17:08:35 +02:00
Ole André Vadla Ravnås
00bc7860ff winks: post error message on flow-unexpected 2010-10-28 17:08:35 +02:00
Andres Colubri
700f70e7a5 winks: add property probing support 2010-10-28 17:08:35 +02:00
Ole André Vadla Ravnås
2cf589b928 winks: sort devices that look like cameras first 2010-10-28 17:08:31 +02:00
Knut Inge Hvidsten
a54972f806 winks: provide guessed pixel-aspect-ratio in caps 2010-10-28 17:08:31 +02:00
Ole André Vadla Ravnås
a5beb0b8ff winks: only try to change state when actually open 2010-10-28 17:08:31 +02:00
Ole André Vadla Ravnås
1f6a6d2430 winks: ignore unsupported formats 2010-10-28 17:08:27 +02:00
Ole André Vadla Ravnås
b88b25ab9b winks: adjust a couple of logging severities
Should clearly not be considered warnings, as they're quite common.
2010-10-28 16:14:34 +02:00
Ole André Vadla Ravnås
0e4e351b83 applemedia: New plugin for Apple multimedia APIs
Provides the following elements:

qtkitvideosrc: OS X video source relying on the QTKit API. Comes with
hard-coded caps as the API does not provide any way of querying for
formats supported by the hardware. Hasn't been tested a lot, but seems
to work.

miovideosrc: OS X video source which uses the undocumented/private
CoreMediaIOServices API, which is also the one used by iChat.
Present on latest version of Leopard and all versions of Snow Leopard.
Has been tested extensively with built-in cameras and TANDBERG's
PrecisionHD USB camera.

vtenc, vtdec: Generic codec wrappers which make use of the undocumented/
private VideoToolbox API on OS X and iOS. List of codecs are currently
hard-coded to H.264 for vtenc, and H.264 + JPEG for vtdec. Can easily be
expanded by adding new entries to the lists, but haven't yet had time to
do that. Should probably also implement probing as available codecs depend
on the OS and its version, and there doesn't seem to be any way to
enumerate the available codecs.

vth264decbin, vth264encbin: Wrapper bins to make it easier to use
vtdec_h264/vtenc_h264 in live scenarios.

iphonecamerasrc: iPhone camera source relying on the undocumented/private
Celestial API. Tested on iOS 3.1 running on an iPhone 3GS. Stops working
after a few minutes, presumably because of a resource leak. Needs some
love.

Note that the iOS parts haven't yet been ported to iOS 4.x.
2010-10-28 15:08:08 +02:00
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
Tim-Philipp Müller
e800ba112b Remove oss4 plugin
It has been moved to gst-plugins-good.

See #614305.
2010-05-11 19:08:45 +01:00
Carl-Anton Ingmarsson
10ee677b63 vdpau: fix small typo 2010-05-01 15:00:27 +02:00
Carl-Anton Ingmarsson
edcaf36377 vdpau: add leftover gstvdp.h 2010-05-01 14:58:30 +02:00
Carl-Anton Ingmarsson
a661b7c3ca vdpauvideopostprocess: fix crasher on setting properties before we're in READY 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
41492e3452 vdpau: remove debug code 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
8a355f1a24 vdpau: small api cleanup
merge gst_vdp_video_buffer_get_allowed_[video|yuv]_caps into
gst_vdp_video_buffer_get_allowed_caps
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
5739eb3c8f vdpau: small fixes 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
7d253da43f vdpau: add back gstvdpau.c 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
ae660783f5 vdpau: add gst_vdp_init function where we register types 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
c4f60760ed vdpau: add better error handling to GstVdpOutputSrcPad
gst_vdp_output_src_pad_push, gst_vdp_output_src_pad_alloc_buffer and
gst_vdp_output_src_pad_get_device now take a GError parameter to be able to
signal errors to the caller
2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
ff7381109f vdpau: make GstVdpVideoSrcPad(Class)? private 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
2cb7696f86 vdpaumpegdec: follow GstVdpVideoSrcPad changes 2010-05-01 14:46:11 +02:00
Carl-Anton Ingmarsson
6afb2c5e8d vdpau: remove template-caps propery form GstVdpVideoSrcPad
GstVdpVideoSrcPad now use the template property of GstPad instead. Also changed
the _new function to be like gst_pad_new_from_template.
2010-05-01 14:46:11 +02:00
Руслан Ижбулатов
baffaea6e8 Fix warnings in directdrawsink and directsoundsrc
Fixes #617331
2010-05-01 00:04:55 +02:00
Brian Cameron
8f12893c91 oss4sink: implement GstStreamVolume interface and add mute and volume properties
OSS4 supports per-stream volume control, so expose this using the right
API, so that playbin2 and applications like totem can make use of it
(instead of using a volume element for volume control).

Fixes #614305.
2010-04-29 13:21:29 +01:00
Руслан Ижбулатов
5f25780b02 Fix printf format strings for gcc 4.5
Done on Windows/MinGW.

Fixes #617146
2010-04-29 10:17:56 +02:00
Sebastian Dröge
aabe73387a vdpau: Initialize possibly uninitialized variable 2010-04-15 21:38:54 +02:00
Sebastian Dröge
0d79ca29f7 dvbsrc: Actually compare the state and not the state change return from _get_state() 2010-04-15 21:35:15 +02:00
Sebastian Dröge
bad2aae7ae vdpau: Correctly link to the local libgstvdp-0.10 by using the libtool archive 2010-04-12 09:16:19 +02:00
Tim-Philipp Müller
e8d0c50901 oss4: 8-bit PCM audio caps don't need an endianness field 2010-04-08 10:45:33 +01:00
Tim-Philipp Müller
d575347603 oss4: don't iterate the formats table twice for each entry
When iterating the formats table, we can just pass the whole
entry to our helper function, which avoids iterating the table
again to find the entry structure from the passed format id.
2010-04-08 10:43:26 +01:00
Tim-Philipp Müller
cd4099db89 oss4: also accept formats not natively supported
Also accept formats that are not natively supported by the
hardware, OSS4 can convert them internally. List the native
formats first in the caps though, to express our preference
for the native formats. We need this in order to support the
case properly where the audio hardware supports only e.g.
little endian PCM, but the host is big endian, since many
audio elements only support native endianness and make the
reasonable assumption that any audiosink will be able to
handle audio in native endianness.

Based on patch by Jerry Tan <jerry.tan@sun.com>

Fixes #614317.
2010-04-08 10:15:56 +01:00
Sebastian Dröge
ee4baab100 dvbsrc: Use uint instead of int for frequency and symbol-rate properties
The kernel API specifies them as uint32 and frequencies/symbol-rates greater
than 2^31 are actually needed sometimes.

Fixes bug #614475.
2010-04-02 19:09:40 +02:00
Tim-Philipp Müller
840e1c5209 build: build plugins and examples in parallel where possible, if make -jN is used 2010-03-30 01:17:15 +01:00
Tim-Philipp Müller
f81a96ae65 oss4: add comment for translators
Not that that will make these strings much better. Also remove i18n
marker where it doesn't make sense.
2010-03-30 01:14:58 +01:00
Andoni Morales
b65da8ea96 dshowvideosrc: Add support for YUY2 input format
Fix bug #613708
2010-03-24 17:05:14 +01:00
Tristan Matthews
552cd26b43 osx: more compiler warning fixes
Avoid new warnings.

Fixes #613758.
2010-03-24 00:19:02 +00:00
Benjamin Otte
be59e4d52e wininet: Fix warnings 2010-03-23 01:41:31 +01:00
Benjamin Otte
f8266ee03f directdraw: Fix warnings 2010-03-23 01:30:54 +01:00
Benjamin Otte
5038a886ab oss4: Refactor code to make it look more modern
A side effect is that it passes -Wformat-nonliteral and doesn't read
invalid memory in some cases, like when the mixer track contains
a % sign or there is a number but not a known mixer name.
2010-03-22 16:22:22 +01:00
Benjamin Otte
9738d70e28 oss4: Avoid g_quark_to_string (g_quark_from_string ()) madness
We to the strdup inside gst_oss4_mixer_control_get_translated_name()
instead of in the only caller.
2010-03-22 16:22:22 +01:00
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Sebastian Dröge
2a81495bff vdpau: Fix compiler warnings 2010-03-22 08:45:27 +01:00
Benjamin Otte
c8702e06c4 directdraw: Fix warnings 2010-03-21 22:48:13 +01:00
Benjamin Otte
9e399550db acmmp3dec: fix warnings 2010-03-21 22:09:20 +01:00
Benjamin Otte
726894ba61 Fix acmenc for warning flags 2010-03-21 21:53:44 +01:00
Benjamin Otte
f96e4f1581 Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
2010-03-21 21:39:18 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Tim-Philipp Müller
f1fde2ed4b dvbsrc: use g_value_set_static_string() where possible 2010-03-15 19:21:52 +00:00
David Hoyt
584ac24ba0 dshowvideosink: don't crash on invalid AM_MEDIA_TYPE 2010-02-01 16:26:36 -08:00
Vincent GENIEUX
39ab05e024 dvbsrc: fix element shutdown on bad reception
When we have a bad reception, avoid going into an infinite loop by setting a
shutdown flag when shutting down.

Fixes #607747
2010-01-27 12:10:32 +01:00
Benjamin Otte
665a06a44e [oss4] Fix compiler warning about unused return value 2010-01-20 13:30:39 +01:00
Stephen McNamara
405872f69d dshowvideosink: don't leak filter_media_event 2009-12-08 17:56:24 -08:00
Michael Smith
bb3ff2d0a7 dshowvideosink: spell things more betterer. 2009-12-07 10:21:32 -08:00
Stephen McNamara
2bae099473 dshowvideosink: add virtual destructor for internal helper class. 2009-12-07 10:10:29 -08:00
Wim Taymans
966c83dfea vdpau: fix build 2009-11-26 15:33:32 -06:00
Edward Hervey
635e2774e6 vdpau: Fix includes 2009-11-23 09:17:39 +01:00
Carl-Anton Ingmarsson
d57488461a vdpauvideopostprocess: convert to 1/1 pixel-aspect-ratio for rgb too 2009-11-22 22:54:27 +01:00
Carl-Anton Ingmarsson
7401cd90ad vdpausink: intersect allowed caps with our template caps 2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
6aba832e7f vdpau: fix gst_vdp_[video|yuv]_to_output_caps to also add rgb caps 2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
2d03815e19 vdpauvideopostprocess: use GstVdpVideoSrcPad 2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
4dd36435a7 vdpau: add functions to GstVdpOutputBuffer needed for rgb download 2009-11-22 22:38:09 +01:00
Carl-Anton Ingmarsson
64601993c9 vdpau: add GstPad subclass GstVdpOutputSrcPad
GstVdpOutputSrcPad is a subclass of GstPad that is used for pushing out
GstVdpOutputBuffers. It takes care of caps negotiation and conversion to
video/x-raw-rgb.
2009-11-22 22:38:09 +01:00
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
65bc7c87b2 gstvdpvideobuffer: fix typo 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
7f198163ec gstvdpvideosrcpad: don't recreate caps in getcaps 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
9c1b87aaa6 vdpausink: rework presentation blocking a bit
instead of blocking until the previous surface has been displayed, we new only
add surfaces to the queue if it's idle.
2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
ea364d7a5a vdpauvideopostprocess: split up chain function 2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
51caa55d4e vdpauvideopostprocess: implement basic qos handling 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
8998198703 vdpau: remove unused functions 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
25014f8e7c vdpau: remove now unneeded vdpauvideoyuv and vdpauyuvvideo elements 2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
7753f80cf5 vdpauvideopostprocess: add display property 2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
c094db8170 vdpausink: add debug output 2009-11-22 22:38:08 +01:00
Carl-Anton Ingmarsson
4609e07c5e vdpauvideopostprocess: add support for video/x-raw-yuv input 2009-11-22 22:38:07 +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
c621101faa vdpauvideopostprocess: fix longname 2009-11-22 22:38:07 +01:00
Chris Hills
016c9797b7 dvbsrc: Add support for DVB-T/DVB-C with DVB API 3.3 2009-11-06 15:43:39 +01:00
Tim-Philipp Müller
926493d12b dvbbasebin: printf format fixes 2009-11-05 21:45:07 +00:00
Michael Smith
9421274006 osxvideosrc: change a .m file containing only C code to a .c file. Makes
building this easier.
2009-10-29 16:35:13 -07:00
Julien Isorce
db3bd777e8 dshowsrcwrapper: cleanup push buffer callback 2009-10-28 17:37:44 +01:00
Michael Smith
7ca8034c51 Remove executable bits from non-executable files. 2009-10-27 11:51:05 -07:00
Jan Schmidt
3063de4e87 Revert "dshowsrcwrapper: cleanup push buffer callback"
gst-plugins-bad is still frozen for general commits.

This reverts commit 2e4131926f.
2009-10-22 14:00:10 +01:00
Julien Isorce
2e4131926f dshowsrcwrapper: cleanup push buffer callback 2009-10-22 14:26:30 +02:00
Jan Schmidt
08a6997add dist: Include vdpsink.h in the tarball to fix the dist. 2009-10-16 11:53:14 +01:00
Stefan Kost
b7b8b7f407 build: fprintf, sprintf, sscanf need stdio.h 2009-10-07 15:26:12 +03:00
Alessandro Decina
a789d14f8d Fix compilation warning with gcc-4.2. 2009-10-05 15:27:26 +02:00
Jan Schmidt
6e1a735075 vdpau: Fix bogus check before unreffing 2009-09-16 10:28:20 +01:00
Carl-Anton Ingmarsson
f85c84af1f vdpauvideopostprocess: handle pixel-aspect-ratio better
the implementation is not entirely correct since we assume that the sink
element's pixel-aspect-ratio is 1/1
2009-09-16 10:25:47 +01:00
Carl-Anton Ingmarsson
0b979b48fc vdpauvideopostprocess: remove par from caps since we don't handle it yet 2009-09-16 10:25:47 +01:00
Carl-Anton Ingmarsson
370520682d vdpauvideopostprocess: don't remove interlaced flag in video_to_output_caps() 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
ba69dd4747 vdpauvideopostprocess: add inverse-telecine property 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
13075eb07e vdpauvideopostprocess: fix noise-reduction property getter 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
a7ea771f36 vdpauvideopostprocess: add sharpening property 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
1aea922f3c vdpau: remove gst_vdp_device_new from header 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
64f4970c84 vdpausink: fix error handling if gst_vdp_get_device returns NULL 2009-09-16 10:25:46 +01:00
Carl-Anton Ingmarsson
61710ee3e4 vdpau: add back vdpausink and vdpauvideopostprocess 2009-09-16 10:25:45 +01:00
Carl-Anton Ingmarsson
a3452808a1 vdpdevice: fix error handling and threadsafety
return NULL incase of initalization errors and guard hashtable access with a mutex
2009-09-16 10:25:45 +01:00
Carl-Anton Ingmarsson
6bd853f128 vdpauvideopostprocess: get correct number of needed frames if we're doing noise reduction 2009-09-16 10:25:45 +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
6705bfa129 vdpauvidepostprocess: remove boolean noise-reduction property
Use the float one to determine if we should enable noise reduction or not
2009-09-16 10:25:44 +01:00
Carl-Anton Ingmarsson
daf6c7ad52 vdpauvideopostprocess: add support for noise reduction 2009-09-16 10:25:44 +01:00
Carl-Anton Ingmarsson
feba003d80 vdpauvideopostprocess: add support for deinterlacing
The code is roughly modeled after the deinterlace plugin
2009-09-16 10:25:44 +01:00
Carl-Anton Ingmarsson
707bbfcea3 vdpausink: add myself to copyright 2009-09-16 10:25:44 +01:00
Carl-Anton Ingmarsson
c6bf1e0537 vdpauvideopostprocess: s/gst_vdp_vpp_set_caps/gst_vdp_vpp_sink_setcaps 2009-09-16 10:25:44 +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
f1799ce0d6 vdpau: use G_N_ELEMENTS instead of hardcoding array sizes 2009-09-16 10:25:43 +01:00
Carl-Anton Ingmarsson
9661b77ea1 vdpau: use G_N_ELEMENTS instead of NULL terminating array 2009-09-16 10:25:43 +01:00
Carl-Anton Ingmarsson
3e05ddca61 vdpau: add new vdpausink and vdpauvideopostprocess elements
vdpausink is as the name implies a sink which takes vide/x-vdpau-output buffers
and outputs it to the screen.

vdpauvideopostprocess is an element which takes video/x-vdpau-video buffers and
outputs video/x-vdpau-output buffers. The element can also do things like
deinterlacing and other postprocessing but this is not implemented yet.
2009-09-16 10:25:42 +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
Carl-Anton Ingmarsson
ecd81041e0 vdpau: add support for YUY2 2009-09-16 10:25:40 +01:00
Carl-Anton Ingmarsson
0a423e1de0 vdpau: add support for UYVY 2009-09-16 10:25:40 +01:00
Carl-Anton Ingmarsson
da05417b13 vdpau: factor out common caps calculation and put it in gstvdputils.[ch] 2009-09-16 10:25:40 +01:00
Carl-Anton Ingmarsson
3545720d7a vdpau: refactor GstVdpVideoYUV and GstVdpYUVVideo 2009-09-16 10:25:39 +01:00
Carl-Anton Ingmarsson
e5c0cd7587 vdpau: make GstVdpYUVVideo inherit from GstBaseTransform 2009-09-16 10:25:39 +01:00
Carl-Anton Ingmarsson
f3ce431efc vdpau: fixup some debug prints 2009-09-16 10:25:39 +01:00
Carl-Anton Ingmarsson
ecaf3b85f1 vdpau: make GstVdpVideoYUV inherit from GstBaseTransform 2009-09-16 10:25:38 +01:00
Julien Isorce
76e96c70bd dshowvideosrc: cache device caps 2009-09-09 14:34:03 +02:00
Julien Isorce
76304164bb dshowvideosrc: use IEnumMediaTypes when IAMStreamConfig is not usable
For some device drivers IAMStreamConfig is not supported.
But EnumMediatypes does not provide range size and framerate.
2009-09-09 12:41:17 +02:00
Havard Graff
83ea90c25b dshowvideosink: remove unused variable to fix compiler warning
Fixes bug #594278.
2009-09-08 15:57:47 +02:00
Julien Isorce
503091ae0e dshowsrcwrapper: add support both Unicode and MBCS 2009-09-07 16:44:52 +02:00
Julien Isorce
a768a83c5a dshowsrcwrapper: indent dshowsrcwrapper.cpp 2009-09-07 15:21:28 +02:00
Julien Isorce
01bbe0315f Revert "dshowsrcwrapper: remove unused extern C"
This reverts commit d3c88d637d.

Reverting this since the entry point isn't found because of
C++ build.
2009-09-07 15:12:55 +02:00
Julien Isorce
0518509f0a dshowsrcwrapper: indent 2009-09-07 10:59:53 +02:00
Julien Isorce
9844d73b37 dshowsrcwrapper: convert line ended characters to LF 2009-09-07 10:51:28 +02:00
Julien Isorce
d3c88d637d dshowsrcwrapper: remove unused extern C 2009-09-07 10:38:39 +02:00
Julien Isorce
910376e8dd dshowsrcwrapper: go back to previous mode 2009-09-07 10:31:54 +02:00
Julien Isorce
e806e7aaeb dshowvideosrc: move VIDEO_STREAM_CONFIG_CAPS to GstCapturePinMediaType 2009-09-04 16:29:53 +02:00
Julien Isorce
d321799bfb dshowvideosrc: move default video caps into GstCapturePinMediaType 2009-09-04 12:08:02 +02:00
Julien Isorce
9a1597e58b dshowvideosrc: factorize dshow format to gst caps conversion 2009-09-03 17:49:41 +02:00
Julien Isorce
a22eca4e67 dshowsrcwrapper: remove cplusplus condition 2009-09-03 17:20:47 +02:00
Julien Isorce
0f10b769bf dshowvideosrc: factorize dshow video format parsing 2009-09-03 17:12:26 +02:00
Руслан Ижбулатов
936d87f64b directdraw, directsound: unify CFLAGS and fix configure checks for DirectX-based plugins
One set of CFLAGS for all DirectX-based plugins. Correct header/library
checks for DirectX-based-plugins. Remove unused variable and label in
directsoundsrc.

Fixes #593068.
2009-08-26 01:18:00 +01:00
Julien Isorce
2004db26d7 dshowsrcwrapper: use of default debug category and better dshow errors readability 2009-08-24 14:37:28 +02:00
Tim-Philipp Müller
5bc1290431 vdpau: blacklist for generic states test, and demote to GST_RANK_NONE
These elements are not fit for autoplugging, so demoting to RANK_NONE.
Also blacklisting for generic states test, since fixing these elements
up to do some minimal error handling seems to be a bit more work.
Partially fixes #591538.
2009-08-12 16:51:21 +01:00
Tim-Philipp Müller
1691621faf Remove execute flags from source files 2009-08-10 22:16:37 +01:00
Julien Isorce
8c37eed491 dshowsrcwrapper: can list more than 1 device
something like the following code now works:

vector<string> getVideoDeviceNames()
{
    vector<string> l_name;
    string property;

    GstElement* videodevicesrc = create_element("dshowvideosrc", "videodevicesrc");

    GstPropertyProbe* probe = GST_PROPERTY_PROBE (videodevicesrc);
    GValueArray* va = gst_property_probe_get_values_name (probe, "device-name");

    if (va)
    {
        for(size_t i=0; i < va->n_values; ++i)
        {
            GValue* v = g_value_array_get_nth(va, i);
            string name(g_value_get_string(v));
            l_name.push_back(name);
        }
    }

    if (videodevicesrc)
        gst_object_unref(GST_OBJECT (videodevicesrc));

    return l_name;
}
2009-08-10 16:35:36 +02:00
Julien Isorce
ae6935e6a3 dshowaudiosrc: handles device-name property 2009-08-10 16:17:41 +02:00
Julien Isorce
67dd6694a1 dshowsrcwrapper: add a helper function to check a media type 2009-08-10 16:03:17 +02:00
Julien Isorce
0a7c30f6c1 dshowvideosrc: can use other video sizes and framerates than the defaults
Even if the device could capture several video sizes at several framerates,
without this commit, it was only possible to use one video size and
one framerate: the default directshow values.
2009-08-10 14:23:14 +02:00
Julien Isorce
94ece2054c directsoundsrc: LF and indent 2009-08-10 11:36:41 +02:00
Julien Isorce
182dad5c66 directdrawsink: Fix crash when exposing in GST_STATE_READY
Fixes bug #541962.
2009-08-09 12:25:01 +02:00
Sebastian Dröge
43b56d41c5 directdraw: Fix indention 2009-07-31 07:17:36 +02:00
Руслан Ижбулатов
567902dc06 directdraw: Implement GstNavigation interface
Fixes bug #590208.
2009-07-31 07:17:35 +02:00
Joni Valtanen
f41100e832 directsoundsrc: Add DirectSound source plugin
Fixes bug #344129.
2009-07-29 15:37:08 +02:00
Julien Isorce
dabb692e7c dshowsrcwrapper: remove use of IGstDshowInterface 2009-07-27 14:52:57 +02:00
Tim-Philipp Müller
021f66d6ce dshowsrcwrapper: update Makefile.am for source file renames as well 2009-07-22 11:45:57 +01:00
Julien Isorce
4d926e3b0d dshowaudiosrc: do not remove a range of length 0 2009-07-22 12:34:36 +02:00
Julien Isorce
0efde4cb70 dshowaudiosrc: converts code to C++ 2009-07-22 12:24:46 +02:00
Julien Isorce
779ac0d98e dshowvideosrc: converts code to C++ 2009-07-22 11:01:49 +02:00
Julien Isorce
30469d45c0 start refactoring of dshowsrcwrapper
-remove gst-libs/gst/dshow
-fakesource is moved from gst-libs/gst/dshow to sys/dshowsrcwrapper
-some minor changes (C/C++ check and includes) to make the plugin
compile again.
2009-07-21 10:49:37 +02:00
Austin Lund
b9890a2bf7 Increased the length of time for tuning in gstdvbsrc.c.
Some devices take a while to tune and 500ms was too short to detect
successful tuning.  As well as waiting for 5 seconds each 100ms the
status is checked and the loop is broken out of when tuning has suceeded.
2009-07-16 21:08:27 +02:00
Jan Schmidt
9deb734631 oss4: Attempt to fix a compiler warning
Don't store a const gchar * in a non-const gchar * local var.

Also, make the translation string function static since it's only
used in the one file.
2009-07-16 13:55:14 +01:00
Jan Schmidt
aba7cfa064 vdpau: Fix a compiler warning about uninitialised variable use. 2009-07-15 18:28:46 +01:00
Garrett D'Amore
fac1dbab6e oss4: Enhancements to the mixer and audio output
Code cleanups, general improvements, support for the
new mixer flags in latest gst-plugins-base.

Fixes: #584252
Patch By: Brian Cameron <brian.cameron@sun.com>
Patch By: Garrett D'Amore <garrett.damore@sun.com>
2009-07-15 18:28:44 +01:00
Jan Schmidt
eb528cbcc4 VDPAU: Move I420/YV12 to the front of the caps. Add debug.
Make I420/YV12 caps be preferred when downloading to YUV buffers,
when possible, by listing them first in the set of output caps.
Add some debug in the caps selection code.
2009-06-23 22:22:02 +01:00
Jan Schmidt
deb03ee2ca VDPAU: Add some debug statements 2009-06-20 15:21:47 +01:00
Jan Schmidt
8c89eb9a5b VDPAU: Fix build flags to pull in gst-plugins-base libs 2009-06-20 15:21:47 +01:00
Jan Schmidt
0d94e5a656 VDPAU: Refactor the error path to a common output, and fix a leak.
Don't leak the input buffer on errors. 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
Jan Schmidt
f45f87709c VDPAU: Enhance the configure tests
Check for the VDPAU headers in /usr/include/nvidia as they are on some
platforms (Fedora/rpmfusion). Also check that the libvdpau library is
available.
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
cee2394a0d vdpau: s/IS_VDPAU/IS_VDP 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
Carl-Anton Ingmarsson
f0134f1847 vdpaumpegdec: rename GstVdpMpegDecoder to GstVdpMpegDec 2009-06-20 15:21:44 +01:00
Carl-Anton Ingmarsson
5956df5338 vdpaumpegdec: pass buffer size directly to gst_vdp_mpeg_decoder_decode 2009-06-20 15:21:44 +01:00
Carl-Anton Ingmarsson
7c0e5b5c22 vdpaumpegdec: small cleanup 2009-06-20 15:21:43 +01:00
Carl-Anton Ingmarsson
c4276ae568 vdpaumpegdec: calculate byterate from the size of the incoming data 2009-06-20 15:21:43 +01:00
Carl-Anton Ingmarsson
c9464b9860 vdpaumpegdec: print frame_nr in debug print 2009-06-20 15:21:43 +01:00
Carl-Anton Ingmarsson
b2aa8ae945 vdpaumpegdec: interlaced fixes 2009-06-20 15:21:43 +01:00
Carl-Anton Ingmarsson
757086e3fa vdpaumpegdec: only set base duration once 2009-06-20 15:21:43 +01:00
Carl-Anton Ingmarsson
3864e0349b vdpaumpegdec: don't send the EVENT_NEWSEGMENT downstream if we're seeking 2009-06-20 15:21:42 +01:00
Carl-Anton Ingmarsson
7316cfa186 vdpaumpegdec: implement seeking 2009-06-20 15:21:42 +01:00
Carl-Anton Ingmarsson
016f24f8be vdpaumpegdec: change a GST_DEBUG to GST_WARNING 2009-06-20 15:21:42 +01:00
Carl-Anton Ingmarsson
f4c0de5a67 vdpaumpegdec: remove unused broken_gop field 2009-06-20 15:21:42 +01:00
Carl-Anton Ingmarsson
e2d8cc99b0 vdpaumpegdec: add new gst_vdp_mpeg_decoder_flush for flushing the decoder 2009-06-20 15:21:41 +01:00
Carl-Anton Ingmarsson
f80a727957 vdpaumpegdec: use GSE_DEBUG_FUNCPTR 2009-06-20 15:21:41 +01:00
Carl-Anton Ingmarsson
92335b1a12 vdpaumpegdec: don't drop discont buffers 2009-06-20 15:21:41 +01:00
Carl-Anton Ingmarsson
adeddd0118 vdpaumpegdec: handle GST_QUERY_POSITION and GST_QUERY_DURATION 2009-06-20 15:21:41 +01:00
Carl-Anton Ingmarsson
df3c59a482 vdpaumpegdec: calculate correct duration from data in MPEG_PACKET_EXT_PICTURE_CODING 2009-06-20 15:21:41 +01:00
Carl-Anton Ingmarsson
aee1937579 vdpaumpegdec: fix so that the first frame in a raw mpegvideo stream get timestamp 0 2009-06-20 15:21:40 +01:00
Carl-Anton Ingmarsson
27606d4e10 vpdaumpegdec: remove useless GstVdpDecoder baseclass 2009-06-20 15:21:40 +01:00
Carl-Anton Ingmarsson
127765d19c vdpaumpegdec: use GstBitReader to parse bitstream 2009-06-20 15:21:40 +01:00
Carl-Anton Ingmarsson
426a6eaba9 vdpau: change element rank for testing purposes
set mpegvideoparse rank to primary and vdpaumpegdec to primary - 1 to get vdpaumpegdec
correctly plugged into playbin
2009-06-20 15:21:40 +01:00
Carl-Anton Ingmarsson
8e66a17830 vdpau: add debug on GstVdpDevice destroy 2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
0ffaf06a9a vdpaumpegdec: small code cleanup 2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
c7c60ad029 vdpaumpegdec: remove unnused GstVdpBFrame struct 2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
f4fda3f617 vdpaumpegdec: fix small typo in debug print 2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
616038423f vdpaumpegdec: fixup timestamping of outgoing buffers 2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
42d90ddfa3 vdpaumpegdec: don't add forward_reference if the frame is an I_FRAME 2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
e416f5f5e0 vdpaumpegdec: set correct timestamps 2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
fda9c56a59 vdpaumpegdec: remove unneeded locking since we know do StateChange correctly 2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
02884b0356 s/GST_TYPE_VDPAU/GST_TYPE_VDP/g 2009-06-20 15:21:37 +01:00
Carl-Anton Ingmarsson
824cf29cdc vdpau: s/GST_TYPE_VDPAU/GST_TYPE_VDP/g 2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
323b563c24 vdpaumpegdec: fixup state change 2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
e417b2eea0 vdpau: init "vdpaudevice" debug catoegory in gst_vdp_get_device 2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
de7fb2006e vdpaumpegdec: hold the lock in change_state 2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
6b05d01898 vdpaumpegdec: the B_FRAME decoding was completely wrong, fix it
the buffers don't come in output order so fix the decoder to handle this

add new gst_vdp_video_buffer_add_reference method to GstVdpVideoBuffer to be able to keep
buffers alive. Ie. a B_FRAME need to have both the forward reference and the backward
reference alive during it's lifetime.

add mutex to protect for threadsafety issues when we reset the decoder in FLUSH_STOP
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
b8a7986775 vdpaumpegdec: set full_pel_forward_vector to 0 when pic_type == P_FRAME 2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
3a7a2af1fa vdpaumpegdec: drop frames if we haven't got an I_FRAME yet 2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
66231a619a vdpau: set vdpauvideoyuv and vdpauyuvvideo to GST_RANK_PRIMARY 2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
e737b9a916 vdpaumpegdec: destroy the VdpDecoder and reset the decoder on state change 2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
fb70c1e7b5 vdpau: fix error where we forgot to pass a trailing NULL to g_object_new 2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
612a46a565 vdpau: close display on finalize 2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
f16aa7271e vdpau: small fixes
init create GstVdpDevice on GST_STATE_CHANGE_READY_TO_PAUSED instead of on
GST_STATE_CHANGE_NULL_TO READY

add back incrementing of frame_nr
2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
a94f5fe520 vdpau: use g_once_init_enter instead of g_once 2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
2eb479f825 vdpaumpegdec: if available use incoming buffer timestamp as output timestamp 2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
2d996a3ff4 vdpaumpegdec: clear the adapter when we reset the decoder 2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
8c78a4850f vdpau: fixup renaming
the rename work done in commit 24cf84d06b2f4b2edec3383b198441a07829618b didn't
include typecasts. This commit fixes this.
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
8bbd794961 vdpaumpegdec: reset decoder on GST_EVENT_FLUSH_STOP 2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
4d69d761d2 vdpaumpegdec: reset decoder when we get a discont buffer 2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
8b3261f91a vdpaumpegdec: add "MPEG_PACKET_EXT_PICTURE_CODING" debug statement 2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
035b5f4efb vdpaumpegdec: handle broken_gop field 2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
17102ad0fa vdpaumpegdec: convert all manual parsing to use read_bits instead 2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
806d4ced04 vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref 2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
fc3c9dba95 vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference 2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
e0ddcabd7a vdpaumpegdec: handle multiple B_FRAMEs in a row 2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
a168fdc1d3 vdpaumpegdec: more B_FRAME work 2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
da191134a1 vdpaumpegdec: inital support at handling B_FRAMES 2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
7ca750c422 vdpaumpegdec: fixup GstFlowReturn propagation a bit 2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
000db36020 vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit 2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
375935d9c4 vdpaumpegdec: fixup quantmatrix extension parsing 2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
ee591b9f3d vdpaumpegdec: correct some default values
mpeg1 now give nearly correct output :)
2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
638a35eacc vdpaumpegdecoder: remove unused slice field 2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
08690f10f8 vdpau: rename "video/vdpau-video" caps to "video/x-vdpau-video" 2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
4ee4429c1a vdpau: remove "silent" property from GstVdpDecoder 2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
500861d517 vdpau: don't set element details in GstVdpDecoder 2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
4470b61f80 vdpaumpegdecoder: rename to "vdpaumpegdec" 2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
71c398566c vdpaumpegdecoder: remove unnecesary want_slice field 2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
1af393a72d vdpau: small cosmetical fix 2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
48143abdab vdpau: rename all files and objects from Vdpau to Vdp 2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
d2efd275a4 vdpau: decode slices when we get the next picture header. MPEG2 now kindof works. 2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
1234267cb5 vdpau: small improvement to mpeg decoder 2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
91ff1579f3 vdpau: remove unused "silent" properties 2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
a7170c6ef7 vdpau: implement GstVdpauVideoBuffer -> I420 conversion 2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
86cd9b20f8 vdpau: move definition of the VdpChromaType array and the VdpauFormats to gstdevice.h 2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
072f869548 vdpau: small fix
set vdp_info.forward_reference to VDP_INVALID handle when unreffing the old
buffer
2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
f8e0c0bcc1 vdpau: add new GstVdpauYUVVideo element
the GstVdpauYUVVideo element takes raw YUV video and outputs
GstVdpauVideoBuffers
2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
74485f6fa2 vdpau: VideoYUV unref buffer in chain so that we don't leak them MpegDecoder parse sequence headers 2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
17a758ec71 vdpau: remove some unneded includes 2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
3d4a340cfa vdpau: move plugin definition to a new gstvdpau.c file fix up debug categories 2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
85158b07ea vdpau: add new GstVdpauVideoYUV element
GstVdpauDecoder now pushes GstVdpauVideoBuffers instead of doing
VdpSurface -> YUV conversion. To get YUV data you now put in a GstVdpauVideoYUV
element which takes GstVdpauVideoBuffers and outputs YUV data.
2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
5e73b7272b vdpau: small indent fix 2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
f72dc12373 vdpau: remove obosolete FIXME and some debug prints from gstvdpaudevice.c 2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
7b6cfb83c8 vdpau: commit rename of gst-vdpau-device.h to gstvdpaudevice.h 2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
4cc2a90645 vdpau: remove gst-vdpau-device.c 2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
85acf023df vdpau: rename gst-vdpau-device.[ch] to gstvdpaudevice.[ch] 2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
5563c933ee vdpau: change all references of "gst_vdpaudecoder*" to "gst_vdpau_decoder" 2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
6fa5b4ff14 vdpau: make the decoder clean up after itself 2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
21d7740236 vdpau: remove extra \ from Makefile.am 2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
f74f44c24f vdpau: add gstvdpaudevice for abstracting vdpau initalization 2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
a22a18d1e7 vdpau: remove comment 2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
a727e6a022 vdpau: MPEG1 decoding know gives recognizable output 2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
f70ddb6605 vdpau: create VdpDecoder in set_caps add more functions for parsing mpeg 2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
584b000583 vdpau: store vdpau function pointers in a local structure 2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
29d0c5bdd8 vdpau: extract mpeg2 profile from codec_data 2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
090638ccec vdpau: extract mpeg version 2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
367708e2ae vdpau: add version specification to mpegdecoder caps 2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
f6ed342f19 vdpau: focus on mpeg instead of h264 2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
62757ca5b4 vdpau: rough try at implementing pushinf of YV12 buffers 2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
2363032b34 vdpau: remove obsolete comment 2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
3a48982235 vdpau: init vdpau in GST_STATE_CHANGE_NULL_TO_READY add gst_vdpaudecoder_push_video_surface to vdpaudecoder.h 2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
24dfc72e89 vdpau: add stubs for pushing VdpVideoSurfaces to the src pad 2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
46a7e8221c vdpau: update VdpauH264Decoder element description 2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
c0e4cdeb61 vdpau: changle gstvdpaudecoder.c classification 2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
f2eea7d0ed vdpau: implement downstream caps negotiation 2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
05908cd130 vdpau: small indentation fix 2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
b25f035fe5 vdpau: add basic base class for vdpau decoders 2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
b31ab745a5 add new vdpau directory 2009-06-20 15:21:18 +01:00
Tim-Philipp Müller
6eb167a176 Make build without warnings with debugging disabled 2009-06-19 16:21:28 +01:00
Jan Schmidt
3a05abd2b1 Moved 'directdraw' from -good to -bad 2009-05-16 01:29:21 +01:00
LRN
770c18986d [MOVED FROM GOOD] directdrawsink: Fix type mismatches
Fixes bug #573343.
2009-05-16 01:29:20 +01:00
Stefan Kost
3aafd4f9c3 [MOVED FROM GOOD] Remove version numbers from a few gst-launch examples.
The majority of the examples doe not use -0.10 and this will also help us to maintain the docs.
2009-05-16 01:29:20 +01:00
Stefan Kost
88e98b2298 [MOVED FROM GOOD] Update and add documentation for platform specific plugins (sys).
Link to properties. Correct titles for examples. Fix examples.
2009-05-16 01:29:19 +01:00
Stefan Kost
9d4bfe34db [MOVED FROM GOOD] Don't install static libs for plugins. Fixes #550851 for -good.
Original commit message from CVS:
* ext/aalib/Makefile.am:
* ext/annodex/Makefile.am:
* ext/cairo/Makefile.am:
* ext/dv/Makefile.am:
* ext/esd/Makefile.am:
* ext/flac/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gdk_pixbuf/Makefile.am:
* ext/hal/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/libcaca/Makefile.am:
* ext/libmng/Makefile.am:
* ext/libpng/Makefile.am:
* ext/mikmod/Makefile.am:
* ext/pulse/Makefile.am:
* ext/raw1394/Makefile.am:
* ext/shout2/Makefile.am:
* ext/soup/Makefile.am:
* ext/speex/Makefile.am:
* ext/taglib/Makefile.am:
* ext/wavpack/Makefile.am:
* gst/alpha/Makefile.am:
* gst/apetag/Makefile.am:
* gst/audiofx/Makefile.am:
* gst/auparse/Makefile.am:
* gst/autodetect/Makefile.am:
* gst/avi/Makefile.am:
* gst/cutter/Makefile.am:
* gst/debug/Makefile.am:
* gst/effectv/Makefile.am:
* gst/equalizer/Makefile.am:
* gst/flx/Makefile.am:
* gst/goom/Makefile.am:
* gst/goom2k1/Makefile.am:
* gst/icydemux/Makefile.am:
* gst/id3demux/Makefile.am:
* gst/interleave/Makefile.am:
* gst/law/Makefile.am:
* gst/level/Makefile.am:
* gst/matroska/Makefile.am:
* gst/median/Makefile.am:
* gst/monoscope/Makefile.am:
* gst/multifile/Makefile.am:
* gst/multipart/Makefile.am:
* gst/oldcore/Makefile.am:
* gst/qtdemux/Makefile.am:
* gst/replaygain/Makefile.am:
* gst/rtp/Makefile.am:
* gst/rtsp/Makefile.am:
* gst/smpte/Makefile.am:
* gst/spectrum/Makefile.am:
* gst/udp/Makefile.am:
* gst/videobox/Makefile.am:
* gst/videocrop/Makefile.am:
* gst/videofilter/Makefile.am:
* gst/videomixer/Makefile.am:
* gst/wavenc/Makefile.am:
* gst/wavparse/Makefile.am:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
* sys/oss/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/sunaudio/Makefile.am:
* sys/v4l2/Makefile.am:
* sys/waveform/Makefile.am:
* sys/ximage/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for -good.
2009-05-16 01:29:19 +01:00
Ole André Vadla Ravnås
88fb052f4f [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear):
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc,
gst_directdraw_sink_bufferpool_clear):
Fix two more buffer ref leaks.
2009-05-16 01:29:19 +01:00
Ole André Vadla Ravnås
c99b497b4f [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_show_frame):
Fix buffer ref leak.
2009-05-16 01:29:19 +01:00
Haakon Sporsheim
934179d813 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window I...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
Do IDirectDrawClipper_SetHWnd() if the window ID has already been
set after creating the clipper.
2009-05-16 01:29:19 +01:00
Haakon Sporsheim
0a7b745585 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking of surface lost case after an uns...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame):
Added checking of surface lost case after an unsuccessful
IDirectDrawSurface7_Lock() call.
If surface is lost, return GST_FLOW_OK.
2009-05-16 01:29:18 +01:00
Haakon Sporsheim
4e309644e8 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
WndProc, gst_directdraw_sink_window_thread):
Improved Windows message loop and fixed window destruction issue.
When the window which DirectDraw is rendering to is destroyed, the
render/show_frame function will return GST_FLOW_ERROR.
Partially fixes #520885.
2009-05-16 01:29:18 +01:00
Haakon Sporsheim
b4633a6930 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscr...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps):
Fixed mid stream resolution change bug, the offscreen surface is now
released when set_caps is called.
Partially fixes #520885.
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
e2886ac7c9 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Make it so that gst_directdraw_sink_buffer_alloc uses the right
width/height.
Especially when looking through the pool of buffers, make sure that
the width/height of caps is used instead of the already negotiated
dimensions.
For example if a buffer with different caps is requested, i.e.
higher resolution, the caller would get a buffer with the old
dimensions and thus corrupt the heap.
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
44a5658faa [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
The right fix this time.
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
1aa90c3ce1 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Reverting previous commit, it had it all mixed up, was for a different
patch (major automation screw-up). Sorry!
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
edaeddd5d1 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885.
2009-05-16 01:29:18 +01:00
Sebastian Dröge
e7a9a0ef4b [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Properly chain up finalize functions. Fixes bug #515980.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_ddrawsurface_class_init), (gst_ddrawsurface_finalize),
(gst_directdraw_sink_finalize):
Properly chain up finalize functions. Fixes bug #515980.
2009-05-16 01:29:17 +01:00
Tim-Philipp Müller
c67d722907 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: FALSE is not a gpointer.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_window_thread):
FALSE is not a gpointer.
2009-05-16 01:29:17 +01:00
Julien Moutte
1e8cd75ae9 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Make sure we create our internal window only when we need it. That will give a ch...
Original commit message from CVS:
2008-01-05  Julien Moutte  <julien@fluendo.com>

* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_set_window_id),
(gst_directdraw_sink_set_caps),
(gst_directdraw_sink_change_state),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_draw_borders),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_setup_ddraw),
(gst_directdraw_sink_window_thread),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create): Make sure we create our
internal window only when we need it. That will give a chance to
the application to get the prepare-xwindow-id bus message. Draw
black borders when keeping aspect ratio. Handle the case where
our
rendering window disappears (closed or errors) like other sinks
do. Various 80 columns fixes, improve state change order. That
element could need some more love.
2009-05-16 01:29:17 +01:00
Thomas Vander Stichele
ca3a85c833 [MOVED FROM GOOD] fix header and comments
Original commit message from CVS:
fix header and comments
2009-05-16 01:29:17 +01:00
Jan Schmidt
958dc32505 [MOVED FROM GOOD] Make sure to dist everything needed for win32 builds.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
* sys/waveform/Makefile.am:
Make sure to dist everything needed for win32 builds.
2009-05-16 01:29:17 +01:00
Jan Schmidt
7e0f619ef2 [MOVED FROM GOOD] Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_class_init):
Rename the keep-aspect-ratio property to force-aspect-ratio to make
it consistent with xvimagesink and ximagesink.
2009-05-16 01:29:17 +01:00
Vincent Torri
4c32422297 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Fix more warnings when compiling with MingW (#439914).
Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry fr>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_check_primary_surface),
(gst_directdraw_sink_check_offscreen_surface),
(EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
* sys/directdraw/gstdirectdrawsink.h:
Fix more warnings when compiling with MingW (#439914).
2009-05-16 01:29:16 +01:00
Tim-Philipp Müller
b7476655fb [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static function that doesn't exist; declare another ...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_finalize),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
Bunch of small fixes: remove static function that doesn't exist;
declare another one that does; printf format fix; use right macro
when specifying debug category; remove a bunch of unused variables;
#if 0 out an unused chunk of code (partially fixes #439914).
2009-05-16 01:29:16 +01:00
Tim-Philipp Müller
032eeebb75 [MOVED FROM GOOD] Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/dir...
Original commit message from CVS:
* configure.ac:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save
and restore the various flags in the directdraw/directsound
detection section. Apparently improves cross-compiling for win32
with mingw32 under some circumstances (#437539).
2009-05-16 01:29:16 +01:00
Thomas Vander Stichele
0ebea33d76 [MOVED FROM GOOD] 80 char police
Original commit message from CVS:
80 char police
2009-05-16 01:29:16 +01:00
Sébastien Moutte
bf5c0a89f0 [MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.
2009-05-16 01:29:16 +01:00
Christian Schaller
2949448e31 [MOVED FROM GOOD] update copyright statements
Original commit message from CVS:
update copyright statements
2009-05-16 01:29:16 +01:00
Sébastien Moutte
835917a6fe [MOVED FROM GOOD] sys/directdraw/: Prepare the plugin to move to good:
Original commit message from CVS:
* sys/directdraw/gstdirectdrawplugin.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Prepare the plugin to move to good:
Remove unused/untested code (rendering to an extern surface,
yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros
Rename all functions from gst_directdrawsink to gst_directdraw_sink.
Add gtk doc section
Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line
respecting destination surface stride.
* sys/directsound/gstdirectsoundplugin.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Prepare the plugin to move to good:
Rename all functions from gst_directsoundsink to gst_directsound_sink.
Add gtk doc section
* win32/common/config.h.in:
* win32/MANIFEST:
Add config.h.in
2009-05-16 01:29:15 +01:00
Sébastien Moutte
4dab9691c3 [MOVED FROM GOOD] Makefile.am: Add win32 MANIFEST
Original commit message from CVS:
* Makefile.am:
Add win32 MANIFEST
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Clear unused code and add comments.
Remove yuv from template caps, it only supports RGB
actually.
Implement XOverlay interface and remove window and fullscreen
properties.
Add debug logs.
Test for blit capabilities to return only the current colorspace if
the hardware can't blit for one colorspace to another.
* sys/directsound/gstdirectsoundsink.c:
Add some debugs.
* win32/MANIFEST:
Add VS7 project files and solution.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs6/libgstqtdemux.dsp:
Update project files.
2009-05-16 01:29:15 +01:00
Vincent Torri
7a8bf9900c [MOVED FROM GOOD] Add directdrawsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers...
Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry fr>
* configure.ac:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
Add directdrawsink to build and dist it, so it gets built when
compiling with MingW on win32 and the required headers and libraries
are available (fixes: #392313).
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_center_rect), (gst_directdrawsink_show_frame),
(gst_directdrawsink_setup_ddraw),
(gst_directdrawsink_surface_create):
Comment out some unused things and fix some printf format issues in
order to avoid warnings when buildling with MingW (#392313).
2009-05-16 01:29:15 +01:00
Sergey Scobich
c807b70709 [MOVED FROM GOOD] sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)
Original commit message from CVS:
Patch by: Sergey Scobich  <sergey dot scobich at gmail com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_window_thread),
(gst_directdrawsink_create_default_window):
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.c:
Wait until the window is created before using it; guard unistd.h
includes with HAVE_UNISTD_H. (#366523)
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Update project files.
2009-05-16 01:29:15 +01:00
Sébastien Moutte
622a56c937 [MOVED FROM GOOD] sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.h:
* sys/directsound/gstdirectsoundsink.c:
Add an attenuation property that will directly attenuate the
directsound buffer.
Change the size of the directsound secondary buffer to a half second.
Add more debug logs.
Add a lock to protect dsound buffer write access.
Fix a bad implementation of reset.
* sys/directsound/gstdirectdrawsink.c:
* sys/directsound/gstdirectdrawsink.h:
Add a keep_aspect_ratio property.
Do not use overlay if not supported.
Add more debug logs.
Remove overwrite of WM_ERASEBKGND message handling. It was not
redrawing border when keep_aspect_ratio was enabled.
* win32/common/config.h:
update version waiting an auto-generated config.h
2009-05-16 01:29:15 +01:00
Tim-Philipp Müller
21c22dffd9 [MOVED FROM GOOD] ext/libmms/gstmms.c: Set caps on outgoing buffers.
Original commit message from CVS:
* ext/libmms/gstmms.c: (gst_mms_create):
Set caps on outgoing buffers.
* sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_init):
Comment out unused global instance variable.
2009-05-16 01:29:15 +01:00
Stefan Kost
e191ec4eb4 [MOVED FROM GOOD] Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2009-05-16 01:29:15 +01:00
Stefan Kost
3ab843a4c9 [MOVED FROM GOOD] Define GstElementDetails as const and also static (when defined as global)
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)
2009-05-16 01:29:14 +01:00
Thomas Vander Stichele
e291df2299 [MOVED FROM GOOD] rework build; add translations for v4l2
Original commit message from CVS:
rework build; add translations for v4l2
2009-05-16 01:29:14 +01:00
Sébastien Moutte
c7c875e85b [MOVED FROM GOOD] sys/: sinks are now using GST_RANK_PRIMARY to be used with autodectection
Original commit message from CVS:
* sys/directdraw:
* sys/directsound:
sinks are now using GST_RANK_PRIMARY to be used with autodectection
* win32/vs6:
project files updated to fix some bugs
* win32/vs7:
* win32/vs8:
vs7 and vs8 project files added
2009-05-16 01:29:14 +01:00
Sébastien Moutte
4b4b81c3e5 [MOVED FROM GOOD] added sys/directdraw added sys/directsound added win32/vs6/gst_plugins_bad.dsw added win32/vs6/libgstdirectsound.dsp ...
Original commit message from CVS:
2006-01-05  Sebastien Moutte  <sebastien@moutte.net>
* added sys/directdraw
* added sys/directsound
* added win32/vs6/gst_plugins_bad.dsw
* added win32/vs6/libgstdirectsound.dsp
* added win32/vs6/libgstdirectdraw.dsp
* added win32/common/config.h
2009-05-16 01:29:14 +01:00
Zaheer Merali
94cd09363a dvbsrc: fix pes filter pid resetting 2009-05-02 12:23:03 +01:00
Zaheer Merali
fab3340018 dvbsrc: unset pid filters correctly 2009-05-01 14:28:23 +01:00
Andy Wingo
f01ac09dfb patch over logic errors in osxvideosrc
apple's compiler carps, with reason, about some constructs in osxvideosrc.c
fix them.
also it seems that for some reason this required a gst-indent run. whee
2009-04-20 16:34:30 +02:00
Andy Wingo
1bd852073d add osxvideosrc
* configure.ac:
* sys/Makefile.am:
* sys/osxvideo/Makefile.am: Autoconfiscation.

* sys/osxvideo/osxvideoplugin.m:
* sys/osxvideo/osxvideosrc.h:
* sys/osxvideo/osxvideosrc.c: Add osxvideosrc. Should fix #153684.

Patch-by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Patch-by: Ali Sabil <ali.sabil@tandberg.com>
Patch-by: Barracuda Networks <justin@affinix.com>
2009-04-20 16:18:59 +02:00
Tim-Philipp Müller
2b1fcc75a7 dshowdec: fix compilation with the debugging system disabled
One GST_DEBUG_CATEGORY_INIT should be enough anyway.
Fixes #578562 (spotted by David Hoyt).
2009-04-10 18:00:06 +01:00
Michael Smith
cacadf3f4d acmenc, acmmp3dec, sdp: link to all requires libraries on win32.
Add winsock for windows (for sdp). Link to all the plugins-base
libs we indirectly use for acmmenc and acmmp3dec.
2009-04-08 11:57:02 -07:00
Руслан Ижбулатов
7ff9bdb456 acm: Port to MinGW
Fixes bug #573595.
2009-03-26 11:37:28 +01:00
Jan Schmidt
5664cecbc5 dshowdec: Add par_n and par_d to the object structure to fix compilation 2009-03-20 23:31:19 +00:00
Zaheer Merali
1f42ece99f dvbsrc: make some docs up to date 2009-03-04 18:42:15 +00:00
Michael Smith
c475d9c012 acmenc: fix whitespace
Convert to unix newlines, and reindent in some broken places.
2009-02-28 15:23:07 -08:00
Edward Hervey
3aecf7e257 qtwrapper: Only use _dump_mem() if requested. 2009-02-27 11:06:04 +01:00
Edward Hervey
c794b40c49 qtwrapper: Fix build on macosx 2009-02-23 16:02:08 +01:00
Michael Smith
9eaccf6550 dshowvideosink: Return ASYNC appropriately from change_state.
Make sure we don't do the wrong thing when our base class is returning
ASYNC in state changes.
2009-02-12 17:31:50 -08:00
Michael Smith
24e1e95547 dshowdecwrapper: fix compilation.
Accidently merged part of one change; remove it.
2009-02-12 15:02:41 -08:00
Michael Smith
35a0e4d889 dshowdecwrapper: Pass pixel aspect through from demuxers, if supplied.
If the incoming caps have a pixel-aspect-ratio, ensure it's set on the
output. Corrects PAR for many (but probably not all) files.
2009-02-10 12:28:58 -08:00
Michael Smith
d8d1d23471 dshowdecwrapper: Make audio decoders have SECONDARY rank.
These wrappers are not ideal, and for many of these formats there are
better gstreamer elements available. So, make the rank SECONDARY. In
particular, the mp3 decoder on winXP doesn't work very well.
2009-02-10 12:26:25 -08:00
Michael Smith
67d5b7e6cd dshowdecwrapper: Delete old .c files that are unused
These old files are stale; the plugin was rewritten in c++ ages
ago. Not sure why these are hanging around.
2009-02-10 12:12:56 -08:00
Michael Smith
325c0d5d10 acmmp3dec: fix major memory leaks and clean up code.
Unref incoming buffers when we're done.
Reindent, clean up white space. Fix comments.
2009-02-09 18:02:06 -08:00
Michael Smith
96cd20f841 Fix up things that the indent thingy complained about 2009-02-04 18:11:03 -08:00
Michael Smith
dfa2c64bb8 Fix major leaks in qtwrapper audio decoders.
Free the decoder component and audiobufferlist when caps change, or when
disposing element.
2009-02-04 18:09:58 -08:00
Michael Smith
2e401cc71d Handle many more edge cases in dshowvideosink.
Instrument various codepaths with debug messages.
Handle (as best as I could see how - it's pretty nasty) moving a video
window to another monitor.
Add listening for directshow events.
2009-02-04 17:50:51 -08:00
Thiago Sousa Santos
648e37aeeb qtwrapper: Fixes build at case sensitive systems. 2009-01-29 17:59:35 -02:00
Michael Smith
c37376733e sys/acmmp3dec/Makefile.am: Fix typo in the opposite way to give the plugin a sensible name.
Original commit message from CVS:
* sys/acmmp3dec/Makefile.am:
Fix typo in the opposite way to give the plugin a sensible name.
2009-01-06 22:35:50 +00:00
Jan Schmidt
e4a7d1b5bc sys/acmmp3dec/Makefile.am: Fix typo in the makefile target preventing disting.
Original commit message from CVS:
* sys/acmmp3dec/Makefile.am:
Fix typo in the makefile target preventing disting.
2009-01-06 22:16:56 +00:00
Sebastian Pölsterl
53514d53a4 sys/dvb/dvbbasebin.c: Fix some memory leaks. Fixes bug #566356.
Original commit message from CVS:
Patch by: Sebastian Pölsterl <sebp at k-d-w dot org>
* sys/dvb/dvbbasebin.c: (dvb_base_bin_init),
(dvb_base_bin_finalize), (dvb_base_bin_activate_program),
(dvb_base_bin_pmt_info_cb), (dvb_base_bin_pad_added_cb),
(dvb_base_bin_program_destroy):
Fix some memory leaks. Fixes bug #566356.
2009-01-04 11:11:06 +00:00
Zaheer Abbas Merali
363a7b761c sys/dvb/gstdvbsrc.c: With constant read failures, make sure we exit the read_device method.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
With constant read failures, make sure we exit the read_device
method.
2008-12-23 16:32:05 +00:00
Zaheer Abbas Merali
ef7d946e23 sys/dvb/gstdvbsrc.c: Post bus message with dvb read failure when unable to read from device.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Post bus message with dvb read failure when unable to read from
device.
2008-12-23 15:26:30 +00:00
Luotao Fu
382bbcbd2b sys/fbdev/gstfbdevsink.c: Fix the Depth calculation.
Original commit message from CVS:
Patch by: Luotao Fu <l dot fu at pengutronix dot de>
* sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_getcaps):
Fix the Depth calculation.
Fixes #564114.
2008-12-23 12:25:47 +00:00
Michael Smith
a485e4c252 Add new directory for new acmmp3dec plugin
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
Add new directory for new acmmp3dec plugin
* sys/acmenc/Makefile.am:
* sys/acmenc/acmmp3dec.c:
Add new acmmp3dec plugin, which uses ACM for decoding mp3 on windows.
2008-11-25 00:20:22 +00:00
Michael Smith
bba82abbf7 sys/dshowdecwrapper/gstdshowaudiodec.cpp: Fix flushing/seeking problems returning error code.
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
Fix flushing/seeking problems returning error code.
Fix mp3 decoding with winXP (crashed randomly, occasionally).
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
Fix problems when framerate is missing from video.
2008-11-21 00:47:37 +00:00
David Schleef
a4ec464bd8 sys/qtwrapper/codecmapping.c: Add some of our favorite codecs.
Original commit message from CVS:
* sys/qtwrapper/codecmapping.c: Add some of our favorite codecs.
2008-11-14 23:01:56 +00:00
Zaheer Abbas Merali
39eba4bdec sys/dvb/gstdvbsrc.c: Set filters in PAUSED or PLAYING.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Set filters in PAUSED or PLAYING.
2008-11-06 13:00:54 +00:00
Sebastian Pölsterl
eca13dce9b Fix memleaks.
Original commit message from CVS:
patch by: Sebastian Pölsterl
* gst/mpegdemux/mpegtspacketizer.c:
* sys/dvb/gstdvbsrc.c:
Fix memleaks.
2008-11-04 17:25:09 +00:00
Stefan Kost
a14e8e07df Don't install static libs for plugins. Fixes #550851 for -bad.
Original commit message from CVS:
* ext/alsaspdif/Makefile.am:
* ext/amrwb/Makefile.am:
* ext/apexsink/Makefile.am:
* ext/arts/Makefile.am:
* ext/artsd/Makefile.am:
* ext/audiofile/Makefile.am:
* ext/audioresample/Makefile.am:
* ext/bz2/Makefile.am:
* ext/cdaudio/Makefile.am:
* ext/celt/Makefile.am:
* ext/dc1394/Makefile.am:
* ext/dirac/Makefile.am:
* ext/directfb/Makefile.am:
* ext/divx/Makefile.am:
* ext/dts/Makefile.am:
* ext/faac/Makefile.am:
* ext/faad/Makefile.am:
* ext/gsm/Makefile.am:
* ext/hermes/Makefile.am:
* ext/ivorbis/Makefile.am:
* ext/jack/Makefile.am:
* ext/jp2k/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/lcs/Makefile.am:
* ext/libfame/Makefile.am:
* ext/libmms/Makefile.am:
* ext/metadata/Makefile.am:
* ext/mpeg2enc/Makefile.am:
* ext/mplex/Makefile.am:
* ext/musepack/Makefile.am:
* ext/musicbrainz/Makefile.am:
* ext/mythtv/Makefile.am:
* ext/nas/Makefile.am:
* ext/neon/Makefile.am:
* ext/ofa/Makefile.am:
* ext/polyp/Makefile.am:
* ext/resindvd/Makefile.am:
* ext/sdl/Makefile.am:
* ext/shout/Makefile.am:
* ext/snapshot/Makefile.am:
* ext/sndfile/Makefile.am:
* ext/soundtouch/Makefile.am:
* ext/spc/Makefile.am:
* ext/swfdec/Makefile.am:
* ext/tarkin/Makefile.am:
* ext/theora/Makefile.am:
* ext/timidity/Makefile.am:
* ext/twolame/Makefile.am:
* ext/x264/Makefile.am:
* ext/xine/Makefile.am:
* ext/xvid/Makefile.am:
* gst-libs/gst/app/Makefile.am:
* gst-libs/gst/dshow/Makefile.am:
* gst/aiffparse/Makefile.am:
* gst/app/Makefile.am:
* gst/audiobuffer/Makefile.am:
* gst/bayer/Makefile.am:
* gst/cdxaparse/Makefile.am:
* gst/chart/Makefile.am:
* gst/colorspace/Makefile.am:
* gst/dccp/Makefile.am:
* gst/deinterlace/Makefile.am:
* gst/deinterlace2/Makefile.am:
* gst/dvdspu/Makefile.am:
* gst/festival/Makefile.am:
* gst/filter/Makefile.am:
* gst/flacparse/Makefile.am:
* gst/flv/Makefile.am:
* gst/games/Makefile.am:
* gst/h264parse/Makefile.am:
* gst/librfb/Makefile.am:
* gst/mixmatrix/Makefile.am:
* gst/modplug/Makefile.am:
* gst/mpeg1sys/Makefile.am:
* gst/mpeg4videoparse/Makefile.am:
* gst/mpegdemux/Makefile.am:
* gst/mpegtsmux/Makefile.am:
* gst/mpegvideoparse/Makefile.am:
* gst/mve/Makefile.am:
* gst/nsf/Makefile.am:
* gst/nuvdemux/Makefile.am:
* gst/overlay/Makefile.am:
* gst/passthrough/Makefile.am:
* gst/pcapparse/Makefile.am:
* gst/playondemand/Makefile.am:
* gst/rawparse/Makefile.am:
* gst/real/Makefile.am:
* gst/rtjpeg/Makefile.am:
* gst/rtpmanager/Makefile.am:
* gst/scaletempo/Makefile.am:
* gst/sdp/Makefile.am:
* gst/selector/Makefile.am:
* gst/smooth/Makefile.am:
* gst/smoothwave/Makefile.am:
* gst/speed/Makefile.am:
* gst/speexresample/Makefile.am:
* gst/stereo/Makefile.am:
* gst/subenc/Makefile.am:
* gst/tta/Makefile.am:
* gst/vbidec/Makefile.am:
* gst/videodrop/Makefile.am:
* gst/videosignal/Makefile.am:
* gst/virtualdub/Makefile.am:
* gst/vmnc/Makefile.am:
* gst/y4m/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/cdrom/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
* sys/dvb/Makefile.am:
* sys/dxr3/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/oss4/Makefile.am:
* sys/qcam/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/vcd/Makefile.am:
* sys/wininet/Makefile.am:
* win32/common/config.h:
Don't install static libs for plugins. Fixes #550851 for -bad.
2008-11-04 12:42:30 +00:00
Jan Schmidt
d87878326d sys/qtwrapper/audiodecoders.c: Fix mismatched signedness compiler warning.
Original commit message from CVS:
* sys/qtwrapper/audiodecoders.c:
(open_decoder):
Fix mismatched signedness compiler warning.
2008-11-03 21:27:31 +00:00
Michael Smith
a1ed30d406 sys/qtwrapper/audiodecoders.c: Add ALAC support.
Original commit message from CVS:
* sys/qtwrapper/audiodecoders.c:
Add ALAC support.
Fix decode of mono AAC files created by itunes.
Set output format correctly (don't ask quicktime to
resample for us).
Use a larger decode buffer to avoid problems with large
ALAC packets.
Fix decode to loop until we have all output data.
* sys/qtwrapper/qtutils.c:
Fix includes so we compile on more OSes.
2008-10-30 19:54:38 +00:00
Michael Smith
4a7573c61a sys/acmenc/Makefile.am: Remove incorrect use of DIRECTSOUND_LDFLAGS
Original commit message from CVS:
2008-10-16  Michael Smith <msmith@songbirdnest.com>
* sys/acmenc/Makefile.am:
Remove incorrect use of DIRECTSOUND_LDFLAGS
2008-10-16 16:18:31 +00:00
Jan Schmidt
b603c27ea0 sys/oss4/: Add some spaces in translateable strings.
Original commit message from CVS:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Add some spaces in translateable strings.
Fixes: #555969 #555968 #555965
2008-10-12 21:52:27 +00:00
Ole André Vadla Ravnås
69fad589ac sys/: New plugin for audio capture and playback using Windows Audio Session
Original commit message from CVS:
* sys/Makefile.am:
* sys/wasapi/Makefile.am:
* sys/wasapi/gstwasapi.c:
* sys/wasapi/gstwasapisink.c:
* sys/wasapi/gstwasapisink.h:
* sys/wasapi/gstwasapisrc.c:
* sys/wasapi/gstwasapisrc.h:
* sys/wasapi/gstwasapiutil.c:
* sys/wasapi/gstwasapiutil.h:
New plugin for audio capture and playback using Windows Audio Session
API (WASAPI) available with Vista and newer (#520901).
Comes with hardcoded caps and obviously needs lots of love. Haven't
had time to work on this code since it was written, was initially just
a quick experiment to play around with this new API.
2008-09-30 11:19:10 +00:00
Ole André Vadla Ravnås
34a993ef50 sys/dshowdecwrapper/gstdshowaudiodec.cpp
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp
(AudioFakeSink.DoRenderSample):
Fix a couple of signed/unsigned comparison warnings.
2008-09-30 10:43:54 +00:00
Ole André Vadla Ravnås
b8b5a842c1 sys/dshowdecwrapper/: Use the _T() macro to support both Unicode and MBCS.
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.h (AudioFakeSink.AudioFakeSink):
* sys/dshowdecwrapper/gstdshowvideodec.h (VideoFakeSink.VideoFakeSink):
Use the _T() macro to support both Unicode and MBCS.
2008-09-30 10:22:10 +00:00
Michael Smith
a51c4c16b2 sys/dshowdecwrapper/: Prefer known-good filters, create directly by GUID if possible, fall back to creating highest-m...
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowfakesrc.cpp:
* sys/dshowdecwrapper/gstdshowutil.cpp:
* sys/dshowdecwrapper/gstdshowutil.h:
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
* sys/dshowdecwrapper/gstdshowvideodec.h:
Prefer known-good filters, create directly by GUID if possible,
fall back to creating highest-merit filter otherwise.
Fixes playback with random dshow filters installed in some
cases.
2008-09-24 17:21:41 +00:00
Michael Krufky
07f3b573f5 sys/dvb/gstdvbsrc.c: Add adapter_name for bus message in ATSC case. Fixes #552536.
Original commit message from CVS:
patch by: Michael Krufky
* sys/dvb/gstdvbsrc.c:
Add adapter_name for bus message in ATSC case. Fixes #552536.
2008-09-17 09:06:57 +00:00
Michael Smith
007478f09c sys/dshowdecwrapper/: Major rewrite of dshowdecwrapper. Converts code to
Original commit message from CVS:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
* sys/dshowdecwrapper/gstdshowaudiodec.cpp:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowdecwrapper.c:
* sys/dshowdecwrapper/gstdshowdecwrapper.cpp:
* sys/dshowdecwrapper/gstdshowdecwrapper.h:
* sys/dshowdecwrapper/gstdshowfakesrc.cpp:
* sys/dshowdecwrapper/gstdshowfakesrc.h:
* sys/dshowdecwrapper/gstdshowutil.cpp:
* sys/dshowdecwrapper/gstdshowutil.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
* sys/dshowdecwrapper/gstdshowvideodec.cpp:
* sys/dshowdecwrapper/gstdshowvideodec.h:
Major rewrite of dshowdecwrapper. Converts code to
C++, moves to direct use of DirectShow base classes,
make a lot of code clearer, simplify, etc.
Fix decode of MP3 on Vista by working around an apparent
bug in the decoder.
2008-09-10 23:15:11 +00:00
Ole André Vadla Ravnås
61dee51291 sys/winks/gstksclock.c (gst_ks_clock_worker_thread_func, gst_ks_clock_start):
Original commit message from CVS:
* sys/winks/gstksclock.c (gst_ks_clock_worker_thread_func,
gst_ks_clock_start):
Synchronize KS clock as a single-shot operation for now, there's not
much point in doing it periodically until we're actually using the
KS timestamps for anything else than just discarding old frames.
* sys/winks/gstksvideosrc.c (gst_ks_video_src_open_device):
Provide the GstClock when opening the device if we already have one.
2008-09-10 12:05:39 +00:00
Ole André Vadla Ravnås
0ff4dc306f sys/winks/gstksvideodevice.c (GST_DEBUG_IS_ENABLED, last_timestamp, gst_ks_video_device_prepare_buffers, gst_ks_video...
Original commit message from CVS:
* sys/winks/gstksvideodevice.c (GST_DEBUG_IS_ENABLED, last_timestamp,
gst_ks_video_device_prepare_buffers, gst_ks_video_device_create_pin,
gst_ks_video_device_set_state, gst_ks_video_device_request_frame,
gst_ks_video_device_read_frame):
Guard against capturing old frames by keeping track of the last
timestamp and also zero-fill the buffers before each capture.
Only assign a master clock if the pin hasn't already got one.
Actually free buffers on the way down to avoid a huge memory leak,
as this was previously done when changing state to ACQUIRE downwards
and we now skip that state on the way down.
Add some debug.
* sys/winks/gstksvideosrc.c (DEFAULT_DEVICE_PATH, DEFAULT_DEVICE_NAME,
DEFAULT_DEVICE_INDEX, KS_WORKER_LOCK, KS_WORKER_UNLOCK,
KS_WORKER_WAIT, KS_WORKER_NOTIFY, KS_WORKER_WAIT_FOR_RESULT,
KS_WORKER_NOTIFY_RESULT, KS_WORKER_STATE_STARTING,
KS_WORKER_STATE_READY, KS_WORKER_STATE_STOPPING,
KS_WORKER_STATE_ERROR, KsWorkerState, device_path, device_name,
device_index, running, worker_thread, worker_lock,
worker_notify_cond, worker_result_cond, worker_state,
worker_pending_caps, worker_setcaps_result, worker_pending_run,
worker_run_result, gst_ks_video_src_reset,
gst_ks_video_src_apply_driver_quirks, gst_ks_video_src_open_device,
gst_ks_video_src_close_device, gst_ks_video_src_worker_func,
gst_ks_video_src_start_worker, gst_ks_video_src_stop_worker,
gst_ks_video_src_change_state, gst_ks_video_src_set_clock,
gst_ks_video_src_set_caps, gst_ks_video_src_timestamp_buffer,
gst_ks_video_src_create):
Remove ENABLE_CLOCK_DEBUG define, it's GST_LEVEL_DEBUG after all.
Get rid of PROP_ENSLAVE_KSCLOCK and always slave the ks clock to the
GStreamer clock, it doesn't seem to hurt and matches DirectShow's
behavior. As an added bonus we usually get PresentationTime set for
each frame, so we can expand on this later for smarter latency
reporting (by looking at the diff between the timestamp from the
driver and the time according to the GStreamer clock).
Use an internal worker thread for opening the device, setting caps,
changing its state and closing it. This way we're a lot more
compatible with drivers that rely on hacks to do video-effects
between the low-level NT API and the application. Ick.
Start the ks clock and set the pin to KSSTATE_RUN on the first
create() so that we'll hopefully get hold of the GStreamer clock
from the very beginning. This way there's no chance that the
timestamps will make a sudden jump in the beginning of the stream
when we're running with a clock.
* sys/winks/kshelpers.c (CHECK_OPTIONS_FLAG,
ks_options_flags_to_string):
Reorder the flags to match the headerfile order, and make the string
a bit more compact.
* sys/winks/ksvideohelpers.c (ks_video_probe_filter_for_caps):
Avoid leaking KSPROPERTY_PIN_DATARANGES.
2008-09-09 23:58:02 +00:00
Sebastian Pölsterl
64cd01e7e8 sys/dvb/gstdvbsrc.c: Add DVB Adapter name to structure sent over bus.
Original commit message from CVS:
patch by: Sebastian Pölsterl
* sys/dvb/gstdvbsrc.c:
Add DVB Adapter name to structure sent over bus.
2008-09-05 11:07:32 +00:00
Ole André Vadla Ravnås
e3fcb1d801 sys/winks/ksvideohelpers.c (ks_video_media_type_free): Avoid leaking the KSDATARANGE member of each KsVideoMediaType.
Original commit message from CVS:
* sys/winks/ksvideohelpers.c (ks_video_media_type_free):
Avoid leaking the KSDATARANGE member of each KsVideoMediaType.
2008-08-28 22:02:28 +00:00
Ole André Vadla Ravnås
50a20db7ed sys/winks/gstksvideodevice.c (gst_ks_video_device_class_init, gst_ks_video_device_set_state):
Original commit message from CVS:
* sys/winks/gstksvideodevice.c (gst_ks_video_device_class_init,
gst_ks_video_device_set_state):
Don't set the pin state to KSSTATE_RUN from the streaming thread.
Skip KSSTATE_ACQUIRE when changing pin state downwards.
Be nice and specify G_PARAM_STATIC_STRINGS.
Remove unused finalize method.
* sys/winks/gstksvideosrc.c (DEFAULT_ENABLE_QUIRKS, PROP_ENABLE_QUIRKS,
enable_quirks, gst_ks_video_src_class_init, gst_ks_video_src_init,
gst_ks_video_src_finalize, gst_ks_video_src_get_property,
gst_ks_video_src_set_property, gst_ks_video_src_reset,
gst_ks_video_src_apply_driver_quirks, gst_ks_video_src_change_state,
gst_ks_video_src_set_caps):
First driver quirk: work around Logitech's hostile driver software to
improve stability and performance. See comments for details.
Provide a property to disable driver quirks (enabled by default).
Be nice and specify G_PARAM_STATIC_STRINGS.
Remove unused dispose method.
Tweak include order.
2008-08-27 21:33:07 +00:00
Ole André Vadla Ravnås
c980279fa4 New plugin for low-latency video capture on Windows (#519935).
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/winks/Makefile.am:
* sys/winks/gstksclock.c:
* sys/winks/gstksclock.h:
* sys/winks/gstksvideodevice.c:
* sys/winks/gstksvideodevice.h:
* sys/winks/gstksvideosrc.c:
* sys/winks/gstksvideosrc.h:
* sys/winks/kshelpers.c:
* sys/winks/kshelpers.h:
* sys/winks/ksvideohelpers.c:
* sys/winks/ksvideohelpers.h:
New plugin for low-latency video capture on Windows (#519935).
Uses Kernel Streaming, the lowest level API for doing video capture
on Windows (more or less just raw ioctls).
2008-08-24 22:05:48 +00:00
Ole André Vadla Ravnås
4c75dffedc Added documentation blobs. Thanks to Stefan for noticing!
Original commit message from CVS:
* gst/pcapparse/gstpcapparse.c:
* sys/winscreencap/gstdx9screencapsrc.c:
* sys/winscreencap/gstgdiscreencapsrc.c:
Added documentation blobs. Thanks to Stefan for noticing!
2008-08-24 16:55:48 +00:00
Haakon Sporsheim
407b788242 New plugin: winscreencap (#463941).
Original commit message from CVS:
patch by: Haakon Sporsheim <hakon.sporsheim@tandberg.com>
* configure.ac:
* sys/Makefile.am:
* sys/winscreencap/Makefile.am:
* sys/winscreencap/gstdx9screencapsrc.c:
* sys/winscreencap/gstdx9screencapsrc.h:
* sys/winscreencap/gstgdiscreencapsrc.c:
* sys/winscreencap/gstgdiscreencapsrc.h:
* sys/winscreencap/gstwinscreencap.c:
* sys/winscreencap/gstwinscreencap.h:
New plugin: winscreencap (#463941).
2008-08-24 13:23:44 +00:00
Michael Smith
76b2b0502d sys/dshowdecwrapper/gstdshowaudiodec.c: Flip mpeg1/mpeg2 arrays for mpeg audio. Detect which type the audio is correc...
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
Flip mpeg1/mpeg2 arrays for mpeg audio. Detect which type the audio
is correctly, instead of backwards. No functional changes, since this
mistake was completely self-consistent.
2008-08-23 00:01:39 +00:00
Michael Smith
5c2b8e8044 Add new windows ACM encoder wrapper.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/acmenc/Makefile.am:
* sys/acmenc/acmenc.c:
Add new windows ACM encoder wrapper.
2008-08-20 21:44:22 +00:00
Michael Krufky
e2c08fe736 sys/dvb/: Add ATSC tunning and channels.conf parsing support.
Original commit message from CVS:
patch by: Michael Krufky
* sys/dvb/gstdvbsrc.c:
* sys/dvb/parsechannels.c:
Add ATSC tunning and channels.conf parsing support.
Fixes #537455
2008-08-18 11:13:07 +00:00
Michael Smith
cbc5127190 sys/: Initialise COM with default flags.
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
* sys/dshowdecwrapper/gstdshowvideodec.h:
* sys/dshowvideosink/dshowvideosink.cpp:
* sys/dshowvideosink/dshowvideosink.h:
Initialise COM with default flags.
Only deinitialise if the initialisation was successful.
2008-08-13 21:58:08 +00:00
Stefan Kost
0a8be35287 gst/rtpmanager/gstrtpbin.c: Print the pad-name in debug log.
Original commit message from CVS:
* gst/rtpmanager/gstrtpbin.c:
Print the pad-name in debug log.
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
Use "-" instead of "_" in property names. Can we call them just
"device" like everywhere else?
2008-08-11 07:20:15 +00:00
Mark Nauwelaerts
18d7934ae3 Use configure-generated _stdint.h.
Original commit message from CVS:
* ext/x264/gstx264enc.h:
* sys/fbdev/gstfbdevsink.c:
Use configure-generated _stdint.h.
2008-08-08 10:56:02 +00:00
Frederic Crozat
106b2a7a37 Make sure gettext returns translations in UTF-8 encoding rather than in the current locale encoding (#546822).
Original commit message from CVS:
Patch by: Frederic Crozat <fcrozat@mandriva.org>
* ext/sndfile/gstsf.c: (plugin_init):
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_plugin_init):
* sys/oss4/oss4-audio.c: (plugin_init):
Make sure gettext returns translations in UTF-8 encoding rather
than in the current locale encoding (#546822).
2008-08-07 16:20:30 +00:00
Michael Smith
c709e44f98 sys/dshowdecwrapper/gstdshowaudiodec.c: Revert previous patch apart from typo fixes; the patch was not independently ...
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
Revert previous patch apart from typo fixes; the patch was not
independently useful.
2008-07-08 18:53:41 +00:00
Alessandro Decina
50eafabdd5 sys/dshowdecwrapper/: Add AAC, AC3 to handled codecs.
Original commit message from CVS:
Based on patch by: Alessandro Decina <alessandro@nnva.org>
* sys/dshowdecwrapper/gstdshowaudiodec.c:
* sys/dshowdecwrapper/gstdshowdecwrapper.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
Add AAC, AC3 to handled codecs.
Fix handling of flush events.
Improve debug/error output.
Fix a number of typos in comments and variable names.
2008-07-08 17:41:55 +00:00
Michael Smith
ba48156d08 sys/qtwrapper/: Make qtwrapper compile/work on win32.
Original commit message from CVS:
Patch by : Michael Smith <msmith @ xiph dot org>
* sys/qtwrapper/audiodecoders.c: (qtwrapper_audio_decoder_init),
(clear_AudioStreamBasicDescription), (fill_indesc_mp3),
(fill_indesc_aac), (make_samr_magic_cookie), (write_len),
(make_aac_magic_cookie), (open_decoder), (process_buffer_cb),
(qtwrapper_audio_decoder_chain),
(qtwrapper_audio_decoder_sink_event),
(qtwrapper_audio_decoder_base_init),
(qtwrapper_audio_decoder_class_init),
(qtwrapper_audio_decoders_register):
* sys/qtwrapper/codecmapping.h:
* sys/qtwrapper/imagedescription.c: (image_description_for_avc1),
(image_description_for_mp4v), (image_description_from_stsd_buffer):
* sys/qtwrapper/imagedescription.h:
* sys/qtwrapper/qtutils.c: (get_name_info_from_component),
(dump_avcc_atom), (dump_image_description),
(AllocateAudioBufferList):
* sys/qtwrapper/qtutils.h:
* sys/qtwrapper/qtwrapper.c: (plugin_init):
* sys/qtwrapper/qtwrapper.h:
* sys/qtwrapper/videodecoders.c:
(qtwrapper_video_decoder_base_init), (open_decoder),
(decompressCb), (qtwrapper_video_decoder_chain),
(qtwrapper_video_decoders_register):
Make qtwrapper compile/work on win32.
Lots of fixes
Fixes #531840
2008-07-01 11:28:17 +00:00
Stefan Kost
04c53e454a sys/dvb/gstdvbsrc.c: Move docblob upwards. Balance tags and restore blank line.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Move docblob upwards. Balance tags and restore blank line.
2008-06-16 12:37:34 +00:00
Zaheer Abbas Merali
ec6308ed5c sys/dvb/gstdvbsrc.c: Fix out of date docs.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Fix out of date docs.
2008-06-16 11:47:34 +00:00
Stefan Kost
b62583b216 Final round of doc updates.
Original commit message from CVS:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/speed/gstspeed.c:
* gst/speexresample/gstspeexresample.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/dvb/gstdvbsrc.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
* sys/wininet/gstwininetsrc.c:
Final round of doc updates.
2008-06-16 07:30:34 +00:00
Julien Moutte
bb7f93bd4e gst/flv/: Introduce demuxing support for AAC and
Original commit message from CVS:
2008-06-14  Julien Moutte  <julien@fluendo.com>

* gst/flv/gstflvdemux.c: (gst_flv_demux_cleanup),
(gst_flv_demux_dispose):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (gst_flv_parse_audio_negotiate),
(gst_flv_parse_tag_audio), (gst_flv_parse_video_negotiate),
(gst_flv_parse_tag_video): Introduce demuxing support for AAC
and
H.264/AVC inside FLV.
* sys/dshowdecwrapper/gstdshowaudiodec.c:
(gst_dshowaudiodec_init),
(gst_dshowaudiodec_chain), (gst_dshowaudiodec_push_buffer),
(gst_dshowaudiodec_sink_event), (gst_dshowaudiodec_setup_graph):
* sys/dshowdecwrapper/gstdshowaudiodec.h:
* sys/dshowdecwrapper/gstdshowvideodec.c:
(gst_dshowvideodec_init),
(gst_dshowvideodec_sink_event), (gst_dshowvideodec_chain),
(gst_dshowvideodec_push_buffer),
(gst_dshowvideodec_src_getcaps):
* sys/dshowdecwrapper/gstdshowvideodec.h: Lot of random fixes
to improve stability (ref counting, safety checks...)
2008-06-13 22:46:43 +00:00
Stefan Kost
15b9246617 Do not use short_description in section docs for elements. We extract them from element details and there will be war...
Original commit message from CVS:
* ext/dc1394/gstdc1394.c:
* ext/ivorbis/vorbisdec.c:
* ext/jack/gstjackaudiosink.c:
* ext/metadata/gstmetadatademux.c:
* ext/mythtv/gstmythtvsrc.c:
* ext/theora/theoradec.c:
* gst-libs/gst/app/gstappsink.c:
* gst/bayer/gstbayer2rgb.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/rawparse/gstaudioparse.c:
* gst/rawparse/gstvideoparse.c:
* gst/rtpmanager/gstrtpbin.c:
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/rtpmanager/gstrtpptdemux.c:
* gst/rtpmanager/gstrtpsession.c:
* gst/rtpmanager/gstrtpssrcdemux.c:
* gst/selector/gstinputselector.c:
* gst/selector/gstoutputselector.c:
* gst/videosignal/gstvideoanalyse.c:
* gst/videosignal/gstvideodetect.c:
* gst/videosignal/gstvideomark.c:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-source.c:
Do not use short_description in section docs for elements. We extract
them from element details and there will be warnings if they differ.
Also fixing up the ChangeLog order.
2008-06-12 14:49:18 +00:00
Michael Smith
15e11ff303 sys/dshowvideosink/: Fix up copyright notice on new plugin.
Original commit message from CVS:
* sys/dshowvideosink/dshowvideofakesrc.cpp:
* sys/dshowvideosink/dshowvideofakesrc.h:
* sys/dshowvideosink/dshowvideosink.cpp:
* sys/dshowvideosink/dshowvideosink.h:
Fix up copyright notice on new plugin.
2008-06-04 21:18:53 +00:00
Michael Smith
d1d7fb884d Add a new win32 videosink. Uses the DirectShow renderers for high-performance video rendering on win32.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/dshowvideosink/Makefile.am:
* sys/dshowvideosink/README:
* sys/dshowvideosink/dshowvideofakesrc.cpp:
* sys/dshowvideosink/dshowvideofakesrc.h:
* sys/dshowvideosink/dshowvideosink.cpp:
* sys/dshowvideosink/dshowvideosink.h:
Add a new win32 videosink. Uses the DirectShow renderers for
high-performance video rendering on win32.
Currently only supports some YUV formats.
Rank PRIMARY, since it's much more useful for the common cases that the
directdraw sink (which only does RGB).
2008-06-02 18:23:54 +00:00
Onkar Shinde
8d55304d61 sys/vcd/vcdsrc.c: Allow the track to be set by using the uri. Fixes #535043.
Original commit message from CVS:
Based on patch by: <onkarshinde at gmail dot com>
* sys/vcd/vcdsrc.c: (gst_vcdsrc_uri_get_uri),
(gst_vcdsrc_uri_set_uri):
Allow the track to be set by using the uri. Fixes #535043.
2008-05-28 08:53:00 +00:00
Tim-Philipp Müller
80ef4ca4d7 sys/oss4/: Make device-name probing in NULL state work better (e.g. for the gnome-control-center sound capplet).
Original commit message from CVS:
* sys/oss4/oss4-mixer.c: (gst_oss4_mixer_open):
* sys/oss4/oss4-property-probe.c:
(gst_oss4_property_probe_find_device_name),
(gst_oss4_property_probe_find_device_name_nofd):
* sys/oss4/oss4-property-probe.h:
* sys/oss4/oss4-sink.c: (gst_oss4_sink_get_property):
* sys/oss4/oss4-source.c: (gst_oss4_source_get_property):
Make device-name probing in NULL state work better (e.g. for the
gnome-control-center sound capplet).
2008-05-22 15:14:26 +00:00
Clive Wright
5d89e2e0a4 sys/oss4/oss4-mixer-slider.c: Apparently mono sliders have the mono value repeated in the upper bits, so mask those o...
Original commit message from CVS:
Based on patch by: Clive Wright <clive_wright ntlworld com>
* sys/oss4/oss4-mixer-slider.c: (gst_oss4_mixer_slider_unpack_volume):
Apparently mono sliders have the mono value repeated in the upper bits,
so mask those out when reading them. Probably makes the mixer applet
work properly in some more cases.
2008-05-08 19:16:17 +00:00
Michael Smith
a740294f2a gst-libs/gst/dshow/Makefile.am: Use CXXFLAGS rather than CFLAGS; these are C++ files.
Original commit message from CVS:
* gst-libs/gst/dshow/Makefile.am:
Use CXXFLAGS rather than CFLAGS; these are C++ files.
Define required constants appropriately.
* sys/dshowdecwrapper/Makefile.am:
Add required include dir, libraries.
Define required constants appropriately.
2008-04-25 18:13:07 +00:00
Zaheer Abbas Merali
30d17d442a sys/dvb/gstdvbsrc.c: Revert patch that added a loop timeout.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Revert patch that added a loop timeout.
Fixes #528614.
2008-04-17 18:28:05 +00:00
Jan Schmidt
c35c0acbe6 ext/dirac/gstdiracenc.cc: Fix compilation by casting string constants.
Original commit message from CVS:
* ext/dirac/gstdiracenc.cc:
Fix compilation by casting string constants.
* sys/Makefile.am:
Fix WININET_DIR variable reference.
2008-04-13 20:54:52 +00:00
Ole André Vadla Ravnås
53e5f028ec sys/dshowsrcwrapper/gstdshowvideosrc.*: Don't increase latency by queuing buffers in an async queue when the streamin...
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* sys/dshowsrcwrapper/gstdshowvideosrc.c: (PROP_DEVICE_NAME),
(gst_dshowvideosrc_class_init), (gst_dshowvideosrc_init),
(gst_dshowvideosrc_dispose), (gst_dshowvideosrc_stop),
(gst_dshowvideosrc_unlock), (gst_dshowvideosrc_unlock_stop),
(gst_dshowvideosrc_create), (gst_dshowvideosrc_push_buffer):
* sys/dshowsrcwrapper/gstdshowvideosrc.h:
Don't increase latency by queuing buffers in an async queue when
the streaming thread can't keep up or isn't scheduled often
enough for some other reason, but just drop the previous buffer
in that case. Also implement GstBaseSrc::unlock for faster
unlocking when shutting down. (#520892).
2008-04-11 19:33:53 +00:00
Julien Moutte
5788aba92c sys/oss4/: Fix arguments format in debug statements.
Original commit message from CVS:
2008-04-11  Julien Moutte  <julien@fluendo.com>

* sys/oss4/oss4-mixer-enum.c:
(gst_oss4_mixer_enum_get_values_locked):
* sys/oss4/oss4-source.c: (gst_oss4_source_delay): Fix arguments
format in debug statements.
2008-04-11 08:13:22 +00:00
Ole André Vadla Ravnås
44611701ba Add wininetsrc for basic http/ftp support on windows (#520897).
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
* configure.ac:
* sys/Makefile.am:
* sys/wininet/Makefile.am:
* sys/wininet/gstwininetsrc.c:
* sys/wininet/gstwininetsrc.h:
Add wininetsrc for basic http/ftp support on windows (#520897).
2008-04-10 15:29:44 +00:00
Tim-Philipp Müller
a4246ff3a9 Add initial support for OSSv4. Mixer still needs a bit more love, but even magic has its limits.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/oss4/Makefile.am:
* sys/oss4/oss4-audio.c:
* sys/oss4/oss4-audio.h:
* sys/oss4/oss4-mixer-enum.c:
* sys/oss4/oss4-mixer-enum.h:
* sys/oss4/oss4-mixer-slider.c:
* sys/oss4/oss4-mixer-slider.h:
* sys/oss4/oss4-mixer-switch.c:
* sys/oss4/oss4-mixer-switch.h:
* sys/oss4/oss4-mixer.c:
* sys/oss4/oss4-mixer.h:
* sys/oss4/oss4-property-probe.c:
* sys/oss4/oss4-property-probe.h:
* sys/oss4/oss4-sink.c:
* sys/oss4/oss4-sink.h:
* sys/oss4/oss4-soundcard.h:
* sys/oss4/oss4-source.c:
* sys/oss4/oss4-source.h:
Add initial support for OSSv4. Mixer still needs a bit more love,
but even magic has its limits.
2008-04-02 20:18:58 +00:00
Zaheer Abbas Merali
361092ff6c sys/dvb/gstdvbsrc.c: Repeat diseqc call to allow for some diseqc switches.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Repeat diseqc call to allow for some diseqc switches.
2008-03-28 09:48:27 +00:00
Zaheer Abbas Merali
4215e2643f sys/dvb/gstdvbsrc.c: Make diseqc work more reliably.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Make diseqc work more reliably.
2008-03-27 15:57:14 +00:00
Zaheer Abbas Merali
8be7f45f67 sys/dvb/: Add DVB-C support. Special thanks to Christian Schaller for a testing ground.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
* sys/dvb/parsechannels.c:
Add DVB-C support. Special thanks to Christian Schaller
for a testing ground.
2008-03-01 12:49:13 +00:00
Zaheer Abbas Merali
3bba6b5f94 sys/dvb/camutils.c: Remove the G_VALUE_HOLDS_BOXED checks. They were only added to help debug the data corruption.
Original commit message from CVS:
* sys/dvb/camutils.c:
Remove the G_VALUE_HOLDS_BOXED checks. They were
only added to help debug the data corruption.
2008-02-27 23:29:44 +00:00
Zaheer Abbas Merali
1507ada865 sys/dvb/camutils.c: Don't free the program descriptors, this structure containing them is stills tored after.
Original commit message from CVS:
* sys/dvb/camutils.c:
Don't free the program descriptors, this structure
containing them is stills tored after.
Fixes data corruption.
2008-02-27 19:41:13 +00:00
Zaheer Abbas Merali
4bf32cac7a sys/dvb/camutils.c: Extra checks to prevent data corruption/segfaults.
Original commit message from CVS:
* sys/dvb/camutils.c:
Extra checks to prevent data corruption/segfaults.
2008-02-27 12:34:00 +00:00
Zaheer Abbas Merali
0445c66a1e sys/dvb/gstdvbsrc.c: Add initial support for multiproto driver (not yet merged into v4l-dvb mainline yet).
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Add initial support for multiproto driver (not yet merged into
v4l-dvb mainline yet).
Only works for DVB-S not DVB-S2, DVB-T, DVB-C or other.
2008-02-23 11:56:41 +00:00
Jens Granseuer
266e4741cd Some C89 fixes, moving variable declarations to the beginning of a block. Fixes bug #517937.
Original commit message from CVS:
Patch by: Jens Granseuer <jensgr at gmx dot net>
* gst/librfb/gstrfbsrc.c: (gst_rfb_property_set_version):
* gst/librfb/rfbdecoder.c: (rfb_decoder_message_set_encodings),
(rfb_decoder_state_set_encodings):
* gst/mpegtsparse/mpegtspacketizer.c:
(mpegts_packetizer_parse_nit), (mpegts_packetizer_parse_sdt),
(mpegts_packetizer_parse_eit):
* sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_getcaps),
(gst_fbdevsink_setcaps), (gst_fbdevsink_render):
Some C89 fixes, moving variable declarations to the beginning
of a block. Fixes bug #517937.
2008-02-22 05:33:59 +00:00
Zaheer Abbas Merali
4194e04a46 sys/dvb/camutils.c: Do not assume "descriptors" property in the pmt structure is present.
Original commit message from CVS:
* sys/dvb/camutils.c:
Do not assume "descriptors" property in the pmt structure
is present.
Fixes #516499.
2008-02-14 17:09:38 +00:00
Jan Schmidt
3e6837ee1b Also add dshow pieces to the disted subdirs to fix distcheck.
Original commit message from CVS:
* gst-libs/gst/Makefile.am:
* sys/Makefile.am:
Also add dshow pieces to the disted subdirs to fix distcheck.
2008-02-13 23:52:42 +00:00
Sébastien Moutte
104ec747df Add Makefiles to win32 plugins and lib.
Original commit message from CVS:
* gst-libs/gst/dshow/Makefile.am:
* sys/dshowdecwrapper/Makefile.am:
* sys/dshowsrcwrapper/Makefile.am:
Add Makefiles to win32 plugins and lib.
They will need to be tested and probably fixed by developers
working with mingw. This is a first step to include source files
with releases.
2008-02-12 22:10:39 +00:00
Zaheer Abbas Merali
6c1278d35c sys/dvb/dvbbasebin.c: Fix leak of location string returned from gst_uri_get_location.
Original commit message from CVS:
* sys/dvb/dvbbasebin.c:
Fix leak of location string returned from gst_uri_get_location.
Fixes bug #516114
2008-02-12 21:31:57 +00:00
David Schleef
1a74d7922a Remove glimagesink, as it's been moved to gst-plugins-gl.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/inspect/plugin-glimagesink.xml:
* sys/Makefile.am:
* sys/glsink/BUGS:
* sys/glsink/Makefile.am:
* sys/glsink/color_matrix.c:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gltestsrc.c:
* sys/glsink/gltestsrc.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstglconvert.c:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilter.h:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstgltestsrc.h:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Remove glimagesink, as it's been moved to gst-plugins-gl.
Fixes #516094.
2008-02-12 21:01:17 +00:00
Sebastian Dröge
32c43f884e sys/dshowdecwrapper/: Chain up dispose methods properly. Fixes bug #515970.
Original commit message from CVS:
* sys/dshowdecwrapper/gstdshowaudiodec.c:
(gst_dshowaudiodec_dispose):
* sys/dshowdecwrapper/gstdshowvideodec.c:
(gst_dshowvideodec_dispose):
Chain up dispose methods properly. Fixes bug #515970.
2008-02-12 11:08:27 +00:00
Jan Schmidt
8792203e39 Fix some finalize leaks by chaining up to the parent method.
Original commit message from CVS:
* ext/xvid/gstxvidenc.c:
* gst/vmnc/vmncdec.c:
* sys/glsink/glimagesink.c:
* sys/glsink/gstgldisplay.c:
Fix some finalize leaks by chaining up to the parent method.
2008-02-12 10:22:42 +00:00
Sebastian Dröge
fc50684825 sys/fbdev/gstfbdevsink.c: Free the device string in finalize. Fixes bug #515722.
Original commit message from CVS:
* sys/fbdev/gstfbdevsink.c: (gst_fbdevsink_class_init),
(gst_fbdevsink_finalize):
Free the device string in finalize. Fixes bug #515722.
2008-02-11 13:34:47 +00:00
Zaheer Abbas Merali
1316ad4d71 sys/dvb/: Add URI Handler for dvb.
Original commit message from CVS:
* sys/dvb/Makefile.am:
* sys/dvb/dvbbasebin.c:
Add URI Handler for dvb.
Re-order pad templates to workaround a bug in playbasebin.
* sys/dvb/parsechannels.c:
* sys/dvb/parsechannels.h:
Add code to parse channels from zap-style channels.conf files.
2008-02-08 18:22:08 +00:00
Sébastien Moutte
37915fa611 ext\neon\gstneonhttpsrc.c: Include unistd.h only if _HAVE_UNISTD_H is defined
Original commit message from CVS:
* ext\neon\gstneonhttpsrc.c:
Include unistd.h only if _HAVE_UNISTD_H is defined
* gst\mpegvideoparse\mpegvideoparse.c:
Use G_GUINT64_CONSTANT GLIB macro for constant
* sys\dshowsrcwrapper\gstdshowaudiosrc.c:
* sys\dshowsrcwrapper\gstdshowvideosrc.c:
* sys\dshowdecwrapper\gstdshowaudiodec.c:
* sys\dshowdecwrapper\gstdshowaudiodec.h:
* sys\dshowdecwrapper\gstdshowdecwrapper.c:
* sys\dshowdecwrapper\gstdshowdecwrapper.h:
* sys\dshowdecwrapper\gstdshowvideodec.c
* sys\dshowdecwrapper\gstdshowvideodec.h:
Add a DirectShow decoder wrapper.
* win32\MANIFEST:
Add new win32 files to MANIFEST
* win32\vs6\gst_plugins_bad.dsw:
* win32\vs6\libgstdshow.dsp:
* win32\vs6\libgstdshowdecwrapper.dsp:
* win32\vs6\libgstflv.dsp:
Add new projects to bad workspace
2008-02-07 21:02:19 +00:00
Zaheer Abbas Merali
ef421fee72 sys/dvb/gstdvbsrc.c: Open frontend in NULL->READY so caps about dvb adapter can be seen by the app.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Open frontend in NULL->READY so caps about dvb adapter can be
seen by the app.
2008-01-25 17:35:46 +00:00
Zaheer Abbas Merali
065297062c sys/dvb/gstdvbsrc.c: Post bus message about adapter type and it's capabilities, when opening the frontend.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Post bus message about adapter type and it's capabilities,
when opening the frontend.
After failing to read from the dvr, post a bus message to
inform the app.
2008-01-25 12:48:40 +00:00
Zaheer Abbas Merali
1d20eee277 sys/dvb/gstdvbsrc.c: Do not go on forever if problem with reading from dvr, rather return NULL.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Do not go on forever if problem with reading from dvr, rather
return NULL.
Handle some cleanup issues of closing filedescriptors when
failing to tune or similar.
2008-01-23 14:59:47 +00:00
Sean D'Epagnier
7a2ab45440 Add fbdev-based video sink. Linux-only. See bug #506549.
Original commit message from CVS:
Patch by: Sean D'Epagnier <sean@depagnier.com>
* configure.ac:
* sys/Makefile.am:
* sys/fbdev/Makefile.am:
* sys/fbdev/gstfbdevsink.c:
* sys/fbdev/gstfbdevsink.h:
Add fbdev-based video sink.  Linux-only.  See bug #506549.
2008-01-06 22:00:32 +00:00
David Schleef
b37e08cb29 sys/glsink/: Handle xoverlay exposes correctly. This means glimagesink works correctly most of the time in totem (fu...
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstglupload.c:
Handle xoverlay exposes correctly.  This means glimagesink works
correctly most of the time in totem (fullscreening being an
execption).  Doesn't handle expose events directly to the GL
window.
2008-01-06 03:01:39 +00:00
David Schleef
540c7d46c5 sys/glsink/: Reenable video/x-raw-rgb and x-raw-yuv for glimagesink. Enable vblank synchronization. Remove unused c...
Original commit message from CVS:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstopengl.c:
Reenable video/x-raw-rgb and x-raw-yuv for glimagesink.  Enable
vblank synchronization.  Remove unused code.
2008-01-06 01:19:48 +00:00
David Schleef
a4f86fe1dd Switch to using pkgconfig to detect libGL. Since we use recent features added to Mesa, there's no point in adding a ...
Original commit message from CVS:
* configure.ac:
* sys/glsink/Makefile.am:
Switch to using pkgconfig to detect libGL.  Since we use
recent features added to Mesa, there's no point in adding
a check for pre-pkgconfig versions.
2007-12-31 07:55:23 +00:00
Sebastian Dröge
73cc44a5e8 Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x an...
Original commit message from CVS:
* ext/ladspa/gstladspa.c: (gst_ladspa_get_property):
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_show_frame):
* gst/mve/gstmvemux.c: (gst_mve_mux_request_new_pad):
* sys/dvb/dvbbasebin.c: (dvb_base_bin_class_init):
Fix 'xyz may be used uninitialized' compiler warnings caused
by broken g_assert_not_reached() macro in GLib-2.15.x and don't
abort() in any case but properly report the error.
2007-12-29 17:31:49 +00:00
David Schleef
9c52a9cd09 Major cleanup of code. Convert glupload to BaseTransform.
Original commit message from CVS:
* configure.ac:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstglconvert.c:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilter.h:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstglupload.c:
Major cleanup of code.  Convert glupload to BaseTransform.
Handle caps negotiation mostly correctly.  Reenable in build.
2007-12-29 00:37:41 +00:00
David Schleef
f7bf973cc0 sys/glsink/: Change glimagesink over to using GL buffers. This breaks glimagesink for normal operation, but should b...
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/gstglupload.c:
Change glimagesink over to using GL buffers.  This breaks
glimagesink for normal operation, but should be fixed soon.
2007-12-27 05:26:05 +00:00
David Schleef
2b704cae58 sys/glsink/: Convert gldownload to BaseTransform. Make glfilterexample visually interesting. Add support for variou...
Original commit message from CVS:
* sys/glsink/gltestsrc.c:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstglupload.c:
Convert gldownload to BaseTransform.  Make glfilterexample
visually interesting.  Add support for various formats to
downloading.  Fix a few places where we leak GL state to
other elements (bad, but hard to prevent).
2007-12-27 04:15:26 +00:00
David Schleef
3b15f24af0 sys/glsink/: Remove code that handles non-texture buffers. Add a
Original commit message from CVS:
* sys/glsink/BUGS:
* sys/glsink/Makefile.am:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstglconvert.c:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglfilter.h:
* sys/glsink/gstglfilterexample.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Remove code that handles non-texture buffers.  Add a
GstGLBufferFormat type that corresponds to how to use the
texture, not the original video format.  Convert gstflfilter.c
into a base class, add glfilterexample and glconvert elements.
* sys/glsink/color_matrix.c:
Minor ramblings about color conversion matrices.
2007-12-27 00:52:23 +00:00
David Schleef
28eec07001 sys/glsink/: Add gltestsrc element, a duplicate of videotestsrc that uses
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/gltestsrc.c:
* sys/glsink/gltestsrc.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstgltestsrc.c:
* sys/glsink/gstgltestsrc.h:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Add gltestsrc element, a duplicate of videotestsrc that uses
GL rendering to create images.  More cleanup.
2007-12-25 00:34:14 +00:00
David Schleef
9222358367 sys/glsink/: Clean up code. Fix a few leaks.
Original commit message from CVS:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
Clean up code.  Fix a few leaks.
2007-12-24 21:26:40 +00:00
David Schleef
6899b8bb6d sys/glsink/: Rename glvideo.[ch] to gstgldisplay.[ch].
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldisplay.c:
* sys/glsink/gstgldisplay.h:
Rename glvideo.[ch] to gstgldisplay.[ch].
2007-12-24 21:04:46 +00:00
David Schleef
15dbe49f81 sys/glsink/: Rewrite a bunch of code to use textures as the intermediate instead of renderbuffers. upload, download,...
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglupload.c:
Rewrite a bunch of code to use textures as the intermediate
instead of renderbuffers.  upload, download, filtering all
work.
2007-12-24 20:53:56 +00:00
David Schleef
11b0b3dd23 sys/glsink/: A careful read of the documentation reveals that I can't use renderbuffers as textures. Duh. Checkpoin...
Original commit message from CVS:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglupload.c:
A careful read of the documentation reveals that I can't use
renderbuffers as textures.  Duh.  Checkpoint because I'm about
to rewrite a bunch of code.
2007-12-22 05:01:58 +00:00
David Schleef
bb4e1d10e9 sys/glsink/: Switch to using framebuffer_objects instead of GLXPixmaps, because that's what my driver supports. Remo...
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstglbuffer.c:
* sys/glsink/gstglbuffer.h:
* sys/glsink/gstgldownload.c:
* sys/glsink/gstglfilter.c:
* sys/glsink/gstglupload.c:
* sys/glsink/gstopengl.c:
Switch to using framebuffer_objects instead of GLXPixmaps,
because that's what my driver supports.  Remove GLDrawable,
since GstGLDisplay now has a default drawable and context.
2007-12-21 00:03:11 +00:00
David Schleef
4625e68226 sys/glsink/: Use new GstVideoFormat checked into -base. Add new glupload element to upload raw video into a GLXPixbu...
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstopengl.c:
* sys/glsink/gstglupload.c:
Use new GstVideoFormat checked into -base.  Add new glupload
element to upload raw video into a GLXPixbuf.  Untested.  Will
likely crash your motorcycle if you try it.
* sys/glsink/gstvideo-common.c:
* sys/glsink/gstvideo-common.h:
Remove.
2007-12-18 01:25:58 +00:00
David Schleef
6adccf1c54 sys/glsink/: Rename GLVideo* to GstGL*.
Original commit message from CVS:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
Rename GLVideo* to GstGL*.
2007-12-16 22:57:22 +00:00
David Schleef
1fab43e619 sys/glsink/: Add vblank synchronization. Isn't really working on my driver. :(
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glextensions.c:
* sys/glsink/glextensions.h:
* sys/glsink/glvideo.c:
Add vblank synchronization.  Isn't really working on my
driver. :(
2007-12-16 00:16:46 +00:00
David Schleef
601b1f640b sys/glsink/: Add support for xRGB, xBGR, and AYUV. Re-add support for power-of-2 textures.
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstvideo-common.c:
* sys/glsink/gstvideo-common.h:
Add support for xRGB, xBGR, and AYUV.  Re-add support for
power-of-2 textures.
2007-12-15 19:31:23 +00:00
David Schleef
1a1691eb02 sys/glsink/gstvideo-common.*: Pull together some common raw video functions into one location.
Original commit message from CVS:
* sys/glsink/gstvideo-common.c:
* sys/glsink/gstvideo-common.h:
Pull together some common raw video functions into one location.
This should eventually move to -base.
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glimagesink.h:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
* sys/glsink/gstopengl.c:
Use the new video-common.h stuff.  Readd support for RGB video.
2007-12-15 06:33:37 +00:00
Christian Schaller
57889d4b0a update spec file and add two missing files for disting
Original commit message from CVS:
update spec file and add two missing files for disting
2007-12-14 16:23:06 +00:00
David Schleef
ddea6c306e sys/glsink/: Split out gl-related code into a separate file with a sensible API. Major cleanup. Still crashes occas...
Original commit message from CVS:
* sys/glsink/Makefile.am:
* sys/glsink/glimagesink.c:
* sys/glsink/glvideo.c:
* sys/glsink/glvideo.h:
Split out gl-related code into a separate file with a
sensible API.  Major cleanup.  Still crashes occasionally
due to different threads touching bits at the same time.
2007-12-12 02:33:12 +00:00
Zaheer Abbas Merali
3966e730c9 gst/mpegtsparse/: A sub table is identified by the pair table_id and sub_table_identifier, not by pid. So hash with t...
Original commit message from CVS:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
A sub table is identified by the pair table_id and
sub_table_identifier, not by pid. So hash with that.
* sys/dvb/dvbbasebin.c:
Make sure initial pids are added properly to filter,
2007-12-05 12:40:05 +00:00
Zaheer Abbas Merali
cef8e5fe60 gst/mpegtsparse/: Remove signals for pat, pmt, nit, eit, sdt. Replace with bus messages.
Original commit message from CVS:
* gst/mpegtsparse/Makefile.am:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
Remove signals for pat, pmt, nit, eit, sdt. Replace with bus
messages.
* sys/dvb/dvbbasebin.c:
Instead of attaching to signals, use the bus messages.
Also fix up so the dvbsrc starts only outputting the info tables
like PAT, CAT, NIT, SDT, EIT instead of the whole ts.
2007-12-03 18:28:32 +00:00
Julien Moutte
307925e307 configure.ac: Add QuickTime Wrapper plug-in.
Original commit message from CVS:
2007-11-26  Julien Moutte  <julien@fluendo.com>

* configure.ac: Add QuickTime Wrapper plug-in.
* gst/speexresample/gstspeexresample.c:
(gst_speex_resample_push_drain), (gst_speex_resample_process): Fix
build on Mac OS X Leopard. Incorrect printf format arguments.
* sys/Makefile.am:
* sys/qtwrapper/Makefile.am:
* sys/qtwrapper/audiodecoders.c:
(qtwrapper_audio_decoder_base_init),
(qtwrapper_audio_decoder_class_init),
(qtwrapper_audio_decoder_init),
(clear_AudioStreamBasicDescription), (fill_indesc_mp3),
(fill_indesc_aac), (fill_indesc_samr), (fill_indesc_generic),
(make_samr_magic_cookie), (open_decoder),
(qtwrapper_audio_decoder_sink_setcaps), (process_buffer_cb),
(qtwrapper_audio_decoder_chain),
(qtwrapper_audio_decoder_sink_event),
(qtwrapper_audio_decoders_register):
* sys/qtwrapper/codecmapping.c: (audio_caps_from_string),
(fourcc_to_caps):
* sys/qtwrapper/codecmapping.h:
* sys/qtwrapper/imagedescription.c: (image_description_for_avc1),
(image_description_for_mp4v), (image_description_from_stsd_buffer),
(image_description_from_codec_data):
* sys/qtwrapper/imagedescription.h:
* sys/qtwrapper/qtutils.c: (get_name_info_from_component),
(get_output_info_from_component), (dump_avcc_atom),
(dump_image_description), (dump_codec_decompress_params),
(addSInt32ToDictionary), (dump_cvpixel_buffer),
(DestroyAudioBufferList), (AllocateAudioBufferList):
* sys/qtwrapper/qtutils.h:
* sys/qtwrapper/qtwrapper.c: (plugin_init):
* sys/qtwrapper/qtwrapper.h:
* sys/qtwrapper/videodecoders.c:
(qtwrapper_video_decoder_base_init),
(qtwrapper_video_decoder_class_init),
(qtwrapper_video_decoder_init), (qtwrapper_video_decoder_finalize),
(fill_image_description), (new_image_description), (close_decoder),
(open_decoder), (qtwrapper_video_decoder_sink_setcaps),
(decompressCb), (qtwrapper_video_decoder_chain),
(qtwrapper_video_decoder_sink_event),
(qtwrapper_video_decoders_register): Initial import of QuickTime
wrapper jointly developped by Songbird authors (Pioneers of the
Inevitable) and Fluendo.
2007-11-26 13:19:48 +00:00
Alessandro Decina
50841996be gst/mpegtsparse/: pat-info is now a signal not a GObject property that gets notified.
Original commit message from CVS:
patch by: Alessandro Decina
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtspacketizer.h:
* gst/mpegtsparse/mpegtsparse.c:
* gst/mpegtsparse/mpegtsparse.h:
pat-info is now a signal not a GObject property that
gets notified.
pat-info, pmt-info now instead of passing a GObject as
a parameter, pass a GstStructure.
New signals: nit-info, sdt-info, eit-info for DVB SI information
* sys/dvb/camconditionalaccess.c:
* sys/dvb/camconditionalaccess.h:
* sys/dvb/camdevice.c:
* sys/dvb/camdevice.h:
* sys/dvb/camswclient.c:
* sys/dvb/camswclient.h:
* sys/dvb/camutils.c:
* sys/dvb/camutils.h:
Cam code now uses the pmt GstStructure passed from mpegtsparse
signals rather than the GObject.
* sys/dvb/dvbbasebin.c:
Use new signals in mpegtsparse and use GstStructures as per
mpegtsparse's modified API.
2007-11-23 17:53:37 +00:00
Ole André Vadla Ravnås
209d6105d7 gst-libs/gst/dshow/gstdshowfakesink.*: Fix crasher in constructor due to the base class's constructor not necessarily...
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
* gst-libs/gst/dshow/gstdshowfakesink.cpp:
(CDshowFakeSink.CDshowFakeSink):
* gst-libs/gst/dshow/gstdshowfakesink.h: (CDshowFakeSink.m_hres):
Fix crasher in constructor due to the base class's constructor
not necessarily being NULL-safe (depends on the SDK version used
apparently; #492406).
* sys/dshowsrcwrapper/gstdshowaudiosrc.c: (gst_dshowaudiosrc_prepare):
* sys/dshowsrcwrapper/gstdshowvideosrc.c: (gst_dshowvideosrc_set_caps):
Fix a couple of MSVC compiler warnings (#492406).
2007-11-04 11:04:28 +00:00
Zaheer Abbas Merali
1571bc2336 sys/dvb/camswclient.c: Warn on failed write.
Original commit message from CVS:
* sys/dvb/camswclient.c:
Warn on failed write.
2007-10-31 13:31:08 +00:00
Stefan Kost
556fdc15f4 sys/dvb/dvbbasebin.c: Fix the build.
Original commit message from CVS:
* sys/dvb/dvbbasebin.c:
Fix the build.
2007-10-30 20:55:27 +00:00
Zaheer Abbas Merali
7f30d23b0c sys/dvb/dvbbasebin.c: Uncomment the line that sets the pid filter. Wrong way to work-around driver issues.
Original commit message from CVS:
* sys/dvb/dvbbasebin.c:
Uncomment the line that sets the pid filter. Wrong way to
work-around driver issues.
2007-10-29 15:54:04 +00:00
Zaheer Abbas Merali
137951c769 sys/dvb/gstdvbsrc.c: Actually use the code-rate-hp parameter for DVB-S.
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Actually use the code-rate-hp parameter for DVB-S.
It turns out setting to AUTO does not always work (
especially in diseq situations). Set by default to
FEC_AUTO.
2007-10-23 13:08:26 +00:00
Zaheer Abbas Merali
a78f4ff250 sys/dvb/dvbbasebin.c: Added proxy property of diseqc-source
Original commit message from CVS:
* sys/dvb/dvbbasebin.c:
Added proxy property of diseqc-source
2007-10-19 16:20:53 +00:00
Tim-Philipp Müller
2ae4242d8a sys/dvb/: Fix some warnings.
Original commit message from CVS:
* sys/dvb/camapplication.c:
* sys/dvb/camresourcemanager.c:
Fix some warnings.
2007-10-17 10:33:43 +00:00
Alessandro Decina
c205b740d4 sys/dvb/: Integrate SoC work done by Alessandro for the Freevo project.
Original commit message from CVS:
patch by: Alessandro Decina
* sys/dvb/Makefile.am:
* sys/dvb/cam.c:
* sys/dvb/cam.h:
* sys/dvb/camapplication.c:
* sys/dvb/camapplication.h:
* sys/dvb/camapplicationinfo.c:
* sys/dvb/camapplicationinfo.h:
* sys/dvb/camconditionalaccess.c:
* sys/dvb/camconditionalaccess.h:
* sys/dvb/camdevice.c:
* sys/dvb/camdevice.h:
* sys/dvb/camresourcemanager.c:
* sys/dvb/camresourcemanager.h:
* sys/dvb/camsession.c:
* sys/dvb/camsession.h:
* sys/dvb/camswclient.c:
* sys/dvb/camswclient.h:
* sys/dvb/camtransport.c:
* sys/dvb/camtransport.h:
* sys/dvb/camutils.c:
* sys/dvb/camutils.h:
* sys/dvb/dvbbasebin.c:
* sys/dvb/dvbbasebin.h:
* sys/dvb/gstdvb.c:
* sys/dvb/gstdvbsrc.c:
* sys/dvb/gstdvbsrc.h:
Integrate SoC work done by Alessandro for the Freevo project.
Adds cam support to the dvb stack in GStreamer and a new
element (actually a bin) called dvbbasebin that integrates
dvbsrc and mpegtsparse to a) handle decryption and b) allow
acquiring multiple channels on same transponder without
knowing pid numbers.
2007-10-16 17:38:05 +00:00
Stefan Kost
1af510f8d5 Massive leak fixing, plus code cleanups.
Original commit message from CVS:
* ext/audioresample/gstaudioresample.c:
* ext/x264/gstx264enc.c:
* gst/dvdspu/gstdvdspu.c:
* gst/dvdspu/gstdvdspu.h:
* gst/festival/gstfestival.c:
* gst/h264parse/gsth264parse.c:
* gst/mpegtsparse/mpegtspacketizer.c:
* gst/mpegtsparse/mpegtsparse.c:
* gst/multifile/gstmultifilesink.c:
* gst/multifile/gstmultifilesrc.c:
* gst/nuvdemux/gstnuvdemux.c:
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
* sys/vcd/vcdsrc.c:
Massive leak fixing, plus code cleanups.
2007-09-24 10:53:37 +00:00
Stefan Kost
f56adf75ca Add stdlib include (free, atoi, exit).
Original commit message from CVS:
* examples/app/appsrc_ex.c:
* examples/switch/switcher.c:
* ext/neon/gstneonhttpsrc.c:
* ext/timidity/gstwildmidi.c:
* ext/x264/gstx264enc.c:
* gst/mve/mveaudioenc.c: (mve_compress_audio):
* gst/rtpmanager/gstrtpclient.c:
* gst/rtpmanager/gstrtpjitterbuffer.c:
* gst/spectrum/demo-audiotest.c:
* gst/spectrum/demo-osssrc.c:
* sys/dvb/gstdvbsrc.c:
Add stdlib include (free, atoi, exit).
2007-07-18 07:35:32 +00:00
Zaheer Abbas Merali
89496d6d61 sys/dvb/gstdvbsrc.c (dvbsrc_details, ARG_DVBSRC_ADAPTER,
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c (dvbsrc_details, ARG_DVBSRC_ADAPTER,
ARG_DVBSRC_FRONTEND, ARG_DVBSRC_DISEQC_SRC, ARG_DVBSRC_FREQUENCY,
ARG_DVBSRC_POLARITY, gst_dvbsrc_class_init, gst_dvbsrc_init,
gst_dvbsrc_set_property, gst_dvbsrc_get_property,
gst_dvbsrc_open_frontend, gst_dvbsrc_open_dvr, read_device,
gst_dvbsrc_create, gst_dvbsrc_set_pes_filters):
* sys/dvb/gstdvbsrc.h (adapter_number, frontend_number):
Removed property "device". Added properties "adapter" and "frontend".
Fixes #453636.
Rename freq property to frequency.
2007-07-04 11:56:55 +00:00
Tim-Philipp Müller
5827f80d62 gconf/: Remove dysfunctional directory (this stuff is in -good).
Original commit message from CVS:
* gconf/.cvsignore:
* gconf/Makefile.am:
* gconf/gstreamer.schemas.in:
Remove dysfunctional directory (this stuff is in -good).
* ext/sndfile/gstsf.c: (plugin_init):
* sys/dvb/gstdvbsrc.c: (plugin_init):
Add i18n bindtextdomain stuff.
* gst/nuvdemux/gstnuvdemux.c: (gst_nuv_demux_class_init),
(plugin_init):
Post an error message when returning GST_FLOW_ERROR; minor cleanups.
* po/POTFILES.in:
Add more source files with translatable strings (fixes #450605).
2007-06-25 11:02:21 +00:00
Edward Hervey
b8a18741d8 Fix leaks.
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_init):
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c: (gst_bz2dec_init):
* ext/bz2/gstbz2enc.c: (gst_bz2enc_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_init):
* ext/divx/gstdivxenc.c: (gst_divxenc_init):
* ext/faac/gstfaac.c: (gst_faac_init):
* ext/gsm/gstgsmdec.c: (gst_gsmdec_init):
* ext/gsm/gstgsmenc.c: (gst_gsmenc_init):
* ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_init):
* ext/spc/gstspc.c: (gst_spc_dec_init):
* ext/swfdec/gstswfdec.c: (gst_swfdec_init):
* ext/xvid/gstxvidenc.c: (gst_xvidenc_init):
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_init):
* gst/chart/gstchart.c: (gst_chart_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_init):
* gst/festival/gstfestival.c: (gst_festival_init):
* gst/freeze/gstfreeze.c: (gst_freeze_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_request_new_pad):
* gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_init):
* gst/nsf/gstnsf.c: (gst_nsfdec_init):
* gst/overlay/gstoverlay.c: (gst_overlay_init):
* gst/passthrough/gstpassthrough.c: (passthrough_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_init):
* gst/smooth/gstsmooth.c: (gst_smooth_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_init):
* gst/speed/gstspeed.c: (speed_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_init):
* gst/videodrop/gstvideodrop.c: (gst_videodrop_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_init):
Fix leaks.
2007-06-22 10:46:33 +00:00
Tim-Philipp Müller
1b6c4e2ab2 Re-enable VCD source and fix up release notes.
Original commit message from CVS:
* RELEASE:
* sys/Makefile.am:
Re-enable VCD source and fix up release notes.
2007-06-21 18:41:17 +00:00
Wim Taymans
ecf70b629c sys/Makefile.am: Disable VCD build because we're frozen..
Original commit message from CVS:
* sys/Makefile.am:
Disable VCD build because we're frozen..
2007-06-13 11:48:07 +00:00
Wim Taymans
2229e288b6 Port VCD element.
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/vcd/Makefile.am:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_setup_interfaces),
(gst_vcdsrc_base_init), (gst_vcdsrc_class_init), (gst_vcdsrc_init),
(gst_vcdsrc_msf), (gst_vcdsrc_recalculate),
(gst_vcdsrc_set_property), (gst_vcdsrc_get_property),
(gst_vcdsrc_create), (gst_vcdsrc_start), (gst_vcdsrc_stop),
(gst_vcdsrc_uri_set_uri):
* sys/vcd/vcdsrc.h:
Port VCD element.
2007-06-13 11:37:36 +00:00
Jan Schmidt
4c98dfa57c Move videocrop and osxvideo to -good.
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-osxvideo.xml:
* docs/plugins/inspect/plugin-videocrop.xml:
* gst-plugins-bad.spec.in:
* gst/videocrop/Makefile.am:
* gst/videocrop/gstvideocrop.c:
* gst/videocrop/gstvideocrop.h:
* gst/videocrop/videocrop.vcproj:
* sys/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
* tests/check/Makefile.am:
* tests/check/elements/videocrop.c:
* tests/icles/Makefile.am:
* tests/icles/videocrop-test.c:
Move videocrop and osxvideo to -good.
2007-06-12 20:15:14 +00:00
Jan Schmidt
87d6f6575a Remove the waveform plugin now that it is in -good.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/inspect/plugin-waveform.xml:
* sys/waveform/gstwaveformplugin.c:
* sys/waveform/gstwaveformsink.c:
* sys/waveform/gstwaveformsink.h:
* win32/MANIFEST:
* win32/vs6/libgstwaveform.dsp:
Remove the waveform plugin now that it is in -good.
2007-06-12 18:53:03 +00:00
Jan Schmidt
dbf7acdf1d Remove DirectDraw & DirectSound plugins, as they've moved to Good
Original commit message from CVS:
* configure.ac:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* docs/plugins/inspect/plugin-directdraw.xml:
* docs/plugins/inspect/plugin-directsound.xml:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
* sys/directdraw/gstdirectdrawplugin.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/Makefile.am:
* sys/directsound/gstdirectsoundplugin.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
* win32/MANIFEST:
* win32/gst.sln:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs7/libgstdirectdraw.vcproj:
* win32/vs7/libgstdirectsound.vcproj:
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Remove DirectDraw & DirectSound plugins, as they've moved to Good
2007-06-08 17:36:46 +00:00
Jan Schmidt
5210165feb Rename the keep-aspect-ratio property to force-aspect-ratio to make it consistent with xvimagesink and ximagesink.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_class_init):
Rename the keep-aspect-ratio property to force-aspect-ratio to make
it consistent with xvimagesink and ximagesink.
2007-06-08 16:31:15 +00:00
Jan Schmidt
1b26c3f023 sys/glsink/glimagesink.c: Sprinkle in some XSync calls to avoid raciness with broken drivers (ATI) when re-using a si...
Original commit message from CVS:
* sys/glsink/glimagesink.c: (gst_glimage_sink_stop),
(gst_glimage_sink_create_window), (gst_glimage_sink_init_display):
Sprinkle in some XSync calls to avoid raciness with broken
drivers (ATI) when re-using a single glimagesink.
2007-06-06 15:58:31 +00:00
Vincent Torri
6587432049 sys/directdraw/gstdirectdrawsink.*: Fix more warnings when compiling with MingW (#439914).
Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry fr>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_show_frame),
(gst_directdraw_sink_check_primary_surface),
(gst_directdraw_sink_check_offscreen_surface),
(EnumModesCallback2), (gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
* sys/directdraw/gstdirectdrawsink.h:
Fix more warnings when compiling with MingW (#439914).
2007-05-24 08:35:23 +00:00
Sébastien Moutte
0a0c13670a docs/plugins/gst-plugins-bad-plugins.args: Remove directsoundsink property doc as this sink use the mixer interface now.
Original commit message from CVS:
* docs/plugins/gst-plugins-bad-plugins.args:
Remove directsoundsink property doc as this sink use the mixer
interface now.
* docs/plugins/gst-plugins-bad-plugins.interfaces:
Add interfaces implemented by Windows sinks.
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Remove directsoundsink property  and implement the mixer interface.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectsound.dsp:
Update project files.
* gst-libs/gst/dshow/gstdshow.cpp:
* gst-libs/gst/dshow/gstdshow.h:
* gst-libs/gst/dshow/gstdshowfakesink.cpp:
* gst-libs/gst/dshow/gstdshowfakesink.h:
* gst-libs/gst/dshow/gstdshowfakesrc.cpp:
* gst-libs/gst/dshow/gstdshowfakesrc.h:
* gst-libs/gst/dshow/gstdshowinterface.cpp:
* gst-libs/gst/dshow/gstdshowinterface.h:
* win32/common/libgstdshow.def:
* win32/vs6/libgstdshow.dsp:
Add a new gst library which allow to create internal Direct Show
graph (pipelines) to wrap Windows sources, decoders or encoders.
It includes a DirectShow fake source and sink and utility functions.
* sys/dshowsrcwrapper/gstdshowaudiosrc.c:
* sys/dshowsrcwrapper/gstdshowaudiosrc.h:
* sys/dshowsrcwrapper/gstdshowsrcwrapper.c:
* sys/dshowsrcwrapper/gstdshowsrcwrapper.h:
* sys/dshowsrcwrapper/gstdshowvideosrc.c:
* sys/dshowsrcwrapper/gstdshowvideosrc.h:
* win32/vs6/libdshowsrcwrapper.dsp:
Add a new plugin to wrap DirectShow sources on Windows.
It gets data from any webcam, dv cam, micro. We could add
tv tunner card later.
2007-05-23 22:44:12 +00:00
Edward Hervey
8a718ff686 docs/plugins/Makefile.am: Also look for .m (objectivec) files.
Original commit message from CVS:
* docs/plugins/Makefile.am:
Also look for .m (objectivec) files.
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
* docs/plugins/gst-plugins-bad-plugins.args:
* sys/osxvideo/osxvideosink.m:
Add documentation for element and properties.
2007-05-22 11:03:30 +00:00
Tim-Philipp Müller
9da75fe571 sys/directdraw/gstdirectdrawsink.c: Bunch of small fixes: remove static function that doesn't exist; declare another ...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c: (gst_ddrawsurface_finalize),
(gst_directdraw_sink_buffer_alloc),
(gst_directdraw_sink_get_ddrawcaps),
(gst_directdraw_sink_surface_create):
Bunch of small fixes: remove static function that doesn't exist;
declare another one that does; printf format fix; use right macro
when specifying debug category; remove a bunch of unused variables;
#if 0 out an unused chunk of code (partially fixes #439914).
2007-05-20 14:59:46 +00:00
Jan Schmidt
4aafaced29 sys/glsink/glimagesink.c: Update the cached caps after opening the display so that we report only the supported caps ...
Original commit message from CVS:
* sys/glsink/glimagesink.c: (gst_glimage_sink_init_display):
Update the cached caps after opening the display so that we report
only the supported caps formats, not just the template caps.
Fixes: #439405
2007-05-18 12:39:49 +00:00
Edward Hervey
0df2cb85cc sys/osxvideo/osxvideosink.*: Remove the event-loop-in-separate-thread modifications, because MacOSX is $#@(*%$# ! For...
Original commit message from CVS:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Remove the event-loop-in-separate-thread modifications, because MacOSX
is $#@(*%$# ! For those wondering, the event handling needs to be done
in the main thread after all..
2007-05-17 10:59:00 +00:00
Edward Hervey
23ff18c522 sys/osxvideo/osxvideosink.*: Fix a stupid #if vs #ifdef bug. Should use the proper colorspace now.
Original commit message from CVS:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Fix a stupid #if vs #ifdef bug. Should use the proper colorspace now.
Use a separate thread/task for the cocoa event_loop, else it wouldn't
stop.
2007-05-17 09:41:48 +00:00
Tim-Philipp Müller
b979d59b3d Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/dir...
Original commit message from CVS:
* configure.ac:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save
and restore the various flags in the directdraw/directsound
detection section. Apparently improves cross-compiling for win32
with mingw32 under some circumstances (#437539).
2007-05-15 17:22:58 +00:00
Thomas Vander Stichele
bc30d92d04 80 char police
Original commit message from CVS:
80 char police
2007-04-29 13:56:18 +00:00
David Schleef
f9fc86a140 sys/glsink/glimagesink.c: Fix handling of video/x-raw-yuv. Add overlay handling.
Original commit message from CVS:
* sys/glsink/glimagesink.c:
Fix handling of video/x-raw-yuv.  Add overlay handling.
2007-04-03 22:36:47 +00:00
Edward Hervey
5b3587b7f5 sys/osxvideo/osxvideosink.m: Fix previous commit, we want to pass the NSView in the message.
Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Fix previous commit, we want to pass the NSView in the message.
2007-03-16 18:38:18 +00:00
Edward Hervey
559d4e9f44 sys/osxvideo/osxvideosink.m: Emit 'have-ns-view' message when working in embedded mode. The message will contain a po...
Original commit message from CVS:
* sys/osxvideo/osxvideosink.m:
Emit 'have-ns-view' message when working in embedded mode. The message
will contain a pointer to the newly created NSView.
2007-03-16 16:27:20 +00:00
Edward Hervey
045440b483 sys/osxvideo/: Fix leaks when running a NSApp.
Original commit message from CVS:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Fix leaks when running a NSApp.
Accept any kind of resolutions.
Works in fullscreen. Can maximize.
Only thing left before being able to move this to -good is documentation
and embedded window support.
2007-03-14 16:30:19 +00:00
Sébastien Moutte
0075b338c5 sys/directdraw/gstdirectdrawsink.*: Handle display mode changes during playback.
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Handle display mode changes during playback.
2007-03-11 22:23:04 +00:00
Christian Schaller
e3ede85ab5 update copyright statements
Original commit message from CVS:
update copyright statements
2007-02-27 12:02:03 +00:00
Edward Hervey
bd7b6fc51c sys/osxvideo/: Disable the cocoa event loop since it's a huge memory leak. Should only matter if the sink isn't used ...
Original commit message from CVS:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Disable the cocoa event loop since it's a huge memory leak. Should only
matter if the sink isn't used within an NSApp (which has already got
a coca event loop).
Remove all unused code.
2007-02-27 11:30:19 +00:00
Sébastien Moutte
da5144bc04 sys/directsound/gstdirectsoundsink.*: Remove include of unused headers.
Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Remove include of unused headers.
* sys/waveform/gstwaveformplugin.c:
* sys/waveform/gstwaveformsink.c:
* sys/waveform/gstwaveformsink.h:
* win32/vs6/libgstwaveform.dsp:
Add a new waveform plugin which includes an audio sink
element using the WaveForm win32 API.
* win32/MANIFEST:
Add the new project file form waveform plugin.
2007-02-20 21:34:00 +00:00
Sébastien Moutte
f0ea2ecc06 sys/directdraw/: Prepare the plugin to move to good:
Original commit message from CVS:
* sys/directdraw/gstdirectdrawplugin.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Prepare the plugin to move to good:
Remove unused/untested code (rendering to an extern surface,
yuv format rendering).Use GST_(DEBUG/*)_OBJECT macros
Rename all functions from gst_directdrawsink to gst_directdraw_sink.
Add gtk doc section
Fix a bug in gst_directdraw_sink_show_frame, memcpy line by line
respecting destination surface stride.
* sys/directsound/gstdirectsoundplugin.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/directsound/gstdirectsoundsink.h:
Prepare the plugin to move to good:
Rename all functions from gst_directsoundsink to gst_directsound_sink.
Add gtk doc section
* win32/common/config.h.in:
* win32/MANIFEST:
Add config.h.in
2007-02-18 18:00:51 +00:00
Sébastien Moutte
711f00bb88 Makefile.am: Add win32 MANIFEST
Original commit message from CVS:
* Makefile.am:
Add win32 MANIFEST
* sys/directdraw/gstdirectdrawsink.c:
* sys/directdraw/gstdirectdrawsink.h:
Clear unused code and add comments.
Remove yuv from template caps, it only supports RGB
actually.
Implement XOverlay interface and remove window and fullscreen
properties.
Add debug logs.
Test for blit capabilities to return only the current colorspace if
the hardware can't blit for one colorspace to another.
* sys/directsound/gstdirectsoundsink.c:
Add some debugs.
* win32/MANIFEST:
Add VS7 project files and solution.
* win32/vs6/gst_plugins_bad.dsw:
* win32/vs6/libgstdirectdraw.dsp:
* win32/vs6/libgstdirectsound.dsp:
* win32/vs6/libgstqtdemux.dsp:
Update project files.
2007-02-11 15:26:49 +00:00
Edward Hervey
385bba644f configure.ac: Check for an Objective C compiler
Original commit message from CVS:
* configure.ac:
Check for an Objective C compiler
* sys/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/osxvideo/cocoawindow.h:
* sys/osxvideo/cocoawindow.m:
* sys/osxvideo/osxvideosink.h:
* sys/osxvideo/osxvideosink.m:
Port of osxvideo plugin to 0.10. Do NOT consider 100% stable !
Fixes #402470
2007-01-30 17:19:33 +00:00
Vincent Torri
e2117c6c67 Add directsoundsink to build and dist it, so it gets built when compiling with MingW on win32 and the required header...
Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry fr>
* configure.ac:
* sys/Makefile.am:
* sys/directsound/Makefile.am:
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_reset):
Add directsoundsink to build and dist it, so it gets built when
compiling with MingW on win32 and the required headers and libraries
are available (fixes: #392638). Also simplify DirectDraw check a bit.
* tests/check/elements/.cvsignore:
Fix CVS ignore for neonhttpsrc test binary.
2007-01-04 09:44:57 +00:00
Vincent Torri
e163953b0e Add directdrawsink to build and dist it, so it gets built when compiling with MingW on win32 and the required headers...
Original commit message from CVS:
Patch by: Vincent Torri  <vtorri at univ-evry fr>
* configure.ac:
* sys/Makefile.am:
* sys/directdraw/Makefile.am:
Add directdrawsink to build and dist it, so it gets built when
compiling with MingW on win32 and the required headers and libraries
are available (fixes: #392313).
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_center_rect), (gst_directdrawsink_show_frame),
(gst_directdrawsink_setup_ddraw),
(gst_directdrawsink_surface_create):
Comment out some unused things and fix some printf format issues in
order to avoid warnings when buildling with MingW (#392313).
2007-01-03 19:54:33 +00:00
Stefan Kost
fecfce245a remove obsolete _factory_init protos and functions
Original commit message from CVS:
* ext/audiofile/gstafsink.c:
* ext/polyp/plugin.c: (plugin_init):
* ext/polyp/polypsink.c:
* ext/polyp/polypsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
remove obsolete _factory_init protos and functions
2006-11-24 09:05:39 +00:00
Zaheer Abbas Merali
7618b1e761 sys/dvb/gstdvbsrc.c: Actually set the TONE parameter for DVB-S when we should.
Original commit message from CVS:
2006-11-17  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_tune):
Actually set the TONE parameter for DVB-S when we should.
2006-11-17 18:51:58 +00:00
Tim-Philipp Müller
5cbfd21fe5 sys/dvb/gstdvbsrc.*: Fix minor printf format issue; remove overly paranoid checks in create function; fix GObject boi...
Original commit message from CVS:
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_create):
* sys/dvb/gstdvbsrc.h:
Fix minor printf format issue; remove overly paranoid checks in
create function; fix GObject boilerplate macros.
2006-11-14 12:33:33 +00:00
Zaheer Abbas Merali
84d6115567 sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)
Original commit message from CVS:
2006-11-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property)
(gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats),
(gst_dvbsrc_tune), (gst_dvbsrc_set_pes_filters):
Rename set_pes_filter to set_pes_filters for consistency.
Do run-time pid filtering.
2006-11-09 14:00:34 +00:00
Zaheer Abbas Merali
8969a87da1 sys/dvb/gstdvbsrc.c: Do not call output_frontend_stats from a method that does not have the gstdvbsrc object.
Original commit message from CVS:
2006-11-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/dvb/gstdvbsrc.c: (read_device):
Do not call output_frontend_stats from a method that does not
have the gstdvbsrc object.
This fixes the build, sorry guys!
2006-11-08 11:27:16 +00:00
Zaheer Abbas Merali
303b9278c7 sys/dvb/gstdvbsrc.*: Force PAT to always be in the filter.
Original commit message from CVS:
2006-11-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/dvb/gstdvbsrc.c: (read_device), (gst_dvbsrc_create),
(gst_dvbsrc_output_frontend_stats), (gst_dvbsrc_tune),
(gst_dvbsrc_set_pes_filter):
* sys/dvb/gstdvbsrc.h:
Force PAT to always be in the filter.
Try to continue reading after failing 10 times.
2006-11-07 14:46:56 +00:00
Thomas Vander Stichele
de0a7a01a1 po/POTFILES.in: add dvbsrc
Original commit message from CVS:

* po/POTFILES.in:
add dvbsrc
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_class_init), (gst_dvbsrc_init),
(gst_dvbsrc_set_property), (gst_dvbsrc_get_property),
(gst_dvbsrc_open_frontend), (gst_dvbsrc_open_dvr),
(gst_dvbsrc_finalize), (read_device), (gst_dvbsrc_create),
(gst_dvbsrc_start), (gst_dvbsrc_frontend_status),
(gst_dvbsrc_tune), (gst_dvbsrc_unset_pes_filters),
(gst_dvbsrc_set_pes_filter):
* sys/dvb/gstdvbsrc.h:
adapter-prefix is a terrible name for a device, so replace it.
strerror should be used immediately after the syscall related to it.
Actually throw a reasonable GST_ELEMENT_ERROR if we fail to open
(pretty easy to trigger by opening the same device twice).
Use _OBJECT macros where it makes sense.
This element is going to need some work before it moves.
2006-11-04 13:26:41 +00:00
Sergey Scobich
017a8c8527 sys/: Wait until the window is created before using it; guard unistd.h includes with HAVE_UNISTD_H. (#366523)
Original commit message from CVS:
Patch by: Sergey Scobich  <sergey dot scobich at gmail com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdrawsink_window_thread),
(gst_directdrawsink_create_default_window):
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.c:
Wait until the window is created before using it; guard unistd.h
includes with HAVE_UNISTD_H. (#366523)
* win32/vs8/libgstdirectdraw.vcproj:
* win32/vs8/libgstdirectsound.vcproj:
Update project files.
2006-11-01 10:19:18 +00:00
Tim-Philipp Müller
fb148db356 gst/qtdemux/qtdemux.c: Printf format fixes.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (extract_initial_length_and_fourcc),
(gst_qtdemux_loop_state_header):
Printf format fixes.
* sys/dvb/gstdvbsrc.c:
Use "_stdint.h".
2006-10-10 18:54:05 +00:00
Zaheer Abbas Merali
8f85b12bb4 sys/dvb/: Remove these files, not needed use system files.
Original commit message from CVS:
2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/dvb/Makefile.am:
* sys/dvb/dvb-api/Makefile.am:
* sys/dvb/dvb-api/audio.h:
* sys/dvb/dvb-api/ca.h:
* sys/dvb/dvb-api/dmx.h:
* sys/dvb/dvb-api/frontend.h:
* sys/dvb/dvb-api/net.h:
* sys/dvb/dvb-api/osd.h:
* sys/dvb/dvb-api/version.h:
* sys/dvb/dvb-api/video.h:
Remove these files, not needed use system files.
* sys/dvb/gstdvbsrc.c: (gst_dvbsrc_set_property),
(gst_dvbsrc_create), (gst_dvbsrc_output_frontend_stats),
(gst_dvbsrc_tune):
Fix warnings, uint16_t etc. is in stdint.h.
Use system includes not our local ones.
2006-10-10 16:09:58 +00:00
Zaheer Abbas Merali
808736b805 Add dvb detection and allow dvbsrc to be built.
Original commit message from CVS:
2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
* sys/Makefile.am:
Add dvb detection and allow dvbsrc to be built.
2006-10-10 15:47:49 +00:00
Zaheer Abbas Merali
eb54f03b27 Initial import of dvbsrc.
Original commit message from CVS:
2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* configure.ac:
* sys/Makefile.am:
* sys/dvb/AUTHORS:
* sys/dvb/Makefile.am:
* sys/dvb/README:
* sys/dvb/dvb-api/Makefile.am:
* sys/dvb/dvb-api/audio.h:
* sys/dvb/dvb-api/ca.h:
* sys/dvb/dvb-api/dmx.h:
* sys/dvb/dvb-api/frontend.h:
* sys/dvb/dvb-api/net.h:
* sys/dvb/dvb-api/osd.h:
* sys/dvb/dvb-api/version.h:
* sys/dvb/dvb-api/video.h:
* sys/dvb/gstdvbsrc.c:
* sys/dvb/gstdvbsrc.h:
Initial import of dvbsrc.
Currently won't be built.
2006-10-10 15:05:32 +00:00
Tim-Philipp Müller
099e9349ab Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.
Original commit message from CVS:
* po/POTFILES.in:
* sys/v4l2/.cvsignore:
Remove more v4l2 stuff, hopefully fixing 'make distcheck' again.
2006-10-04 10:55:21 +00:00
Thomas Vander Stichele
ca7c4c657c moved to gst-plugins-good
Original commit message from CVS:
* configure.ac:
* sys/Makefile.am:
* sys/v4l2/Makefile.am:
* sys/v4l2/README:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.c:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.c:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c:
* sys/v4l2/v4l2src_calls.h:
moved to gst-plugins-good
2006-10-03 18:23:21 +00:00
Thomas Vander Stichele
321d0c208c comment out the notifies for removed properties
Original commit message from CVS:
comment out the notifies for removed properties
2006-10-03 13:47:10 +00:00
Thomas Vander Stichele
c27870d814 sys/v4l2/gstv4l2object.c: comment out the properties that are already part of the tuner interface.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
comment out the properties that are already part of the tuner
interface.
2006-10-03 13:30:48 +00:00
Zaheer Abbas Merali
8e6d2143b4 sys/v4l2/gstv4l2src.c: Improve docs.
Original commit message from CVS:
2006-10-03  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/v4l2/gstv4l2src.c:
Improve docs.
2006-10-03 13:18:59 +00:00
Wim Taymans
4a0b3b8fda sys/v4l2/: Framerate can be 0/1 too.
Original commit message from CVS:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_all_caps),
(gst_v4l2src_get_caps):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
Framerate can be 0/1 too.
Init framerate to 0/1 before querying it so that we can detect
devices that don't know about a framerate.
Add some more debugging info.
2006-09-28 17:08:47 +00:00
Edgard Lima
ee6160c425 Removed set-undef-fps.
Original commit message from CVS:
Removed set-undef-fps.
2006-09-27 17:47:57 +00:00
Wim Taymans
23695a094d sys/v4l2/: Renamed some properties to match the tuner interface naming.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_contains_channel),
(gst_v4l2_tuner_list_channels),
(gst_v4l2_tuner_set_channel_and_notify),
(gst_v4l2_tuner_get_channel), (gst_v4l2_tuner_contains_norm),
(gst_v4l2_tuner_list_norms), (gst_v4l2_tuner_set_norm_and_notify),
(gst_v4l2_tuner_get_norm):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_empty_lists):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_get_fps):
Renamed some properties to match the tuner interface naming.
2006-09-27 17:04:22 +00:00
Wim Taymans
668add505e Small cleanups.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_set_property_helper),
(gst_v4l2_set_defaults):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_create):
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_fill_lists), (gst_v4l2_open), (gst_v4l2_set_norm),
(gst_v4l2_get_frequency), (gst_v4l2_set_frequency),
(gst_v4l2_signal_strength), (gst_v4l2_get_attribute),
(gst_v4l2_set_attribute), (gst_v4l2_get_input),
(gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_grab_frame), (gst_v4l2src_get_capture),
(gst_v4l2src_set_capture), (gst_v4l2src_capture_init),
(gst_v4l2src_capture_start), (gst_v4l2src_capture_stop),
(gst_v4l2src_buffer_new):
* tests/icles/v4l2src-test.c: (my_bus_callback), (main):
Small cleanups.
Fix error messages.
Use locks when getting timestamps.
Fix leaks in test.
Add licensing header to tests.
2006-09-27 16:14:18 +00:00
Edgard Lima
0b0c7f16f8 Some cleanups and comments.
Original commit message from CVS:
Some cleanups and comments.
2006-09-27 15:14:07 +00:00
Wim Taymans
2b1e939991 docs/plugins/: Add v4l2 plugin to the docs.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-bad-plugins-docs.sgml:
* docs/plugins/gst-plugins-bad-plugins-sections.txt:
Add v4l2 plugin to the docs.
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2vidorient.c:
Fix docs.
Remove some more externs.
2006-09-26 14:17:54 +00:00
Wim Taymans
65c2296d10 sys/v4l2/Makefile.am: Fix makefile, list libs in stack order.
Original commit message from CVS:
* sys/v4l2/Makefile.am:
Fix makefile, list libs in stack order.
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_device_get_type),
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2vidorient.h:
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.h:
Fix coding style:
- Remove extern from functions.
- Fix header indentation.
Fix Flags, add defaults for properties.
Remove unused enums.
Fix TOO_LAZY in error messages.
2006-09-26 13:18:06 +00:00
Wim Taymans
b90e11a094 sys/v4l2/: Fix pass at code cleanups, move errors cases out of the normal flow for additional code clarity.
Original commit message from CVS:
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices),
(gst_v4l2_probe_needs_probe),
(gst_v4l2_object_install_properties_helper), (gst_v4l2_object_new),
(gst_v4l2_object_destroy), (gst_v4l2_object_set_property_helper),
(gst_v4l2_object_get_property_helper), (gst_v4l2_set_defaults),
(gst_v4l2_object_start), (gst_v4l2_object_stop):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init),
(gst_v4l2src_init), (gst_v4l2src_dispose),
(gst_v4l2src_set_property), (gst_v4l2src_get_property),
(gst_v4l2src_fixate), (gst_v4l2src_get_caps),
(gst_v4l2src_set_caps), (gst_v4l2src_get_read),
(gst_v4l2src_get_mmap), (gst_v4l2src_create):
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open), (gst_v4l2_close), (gst_v4l2_get_norm),
(gst_v4l2_set_norm), (gst_v4l2_get_frequency),
(gst_v4l2_set_frequency), (gst_v4l2_signal_strength),
(gst_v4l2_get_attribute), (gst_v4l2_set_attribute),
(gst_v4l2_get_input), (gst_v4l2_set_input):
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_fill_format_list),
(gst_v4l2src_queue_frame), (gst_v4l2src_grab_frame),
(gst_v4l2src_get_capture), (gst_v4l2src_set_capture),
(gst_v4l2src_capture_init), (gst_v4l2src_capture_start),
(gst_v4l2src_capture_stop), (gst_v4l2src_capture_deinit),
(gst_v4l2src_get_size_limits), (gst_v4l2src_set_fps),
(gst_v4l2src_get_fps), (gst_v4l2src_buffer_finalize),
(gst_v4l2src_buffer_new):
Fix pass at code cleanups, move errors cases out of the normal
flow for additional code clarity.
2006-09-26 11:06:17 +00:00
David Schleef
33ae52e8a3 sys/glsink/glimagesink.c: Fix problems when the element cannot open the display. (fixes #357212)
Original commit message from CVS:
* sys/glsink/glimagesink.c:
Fix problems when the element cannot open the display.
(fixes #357212)
2006-09-23 00:28:35 +00:00
Tim-Philipp Müller
c8cc86df2a ext/directfb/dfbvideosink.c: Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might be autoplugged shouldn...
Original commit message from CVS:
* ext/directfb/dfbvideosink.c: (plugin_init):
Lower rank from SECONDARY to MARGINAL. Plugins in -bad that might
be autoplugged shouldn't trump plugins in -base, -good or -ugly
(in this case ximagesink).
* sys/glsink/glimagesink.c: (plugin_init):
Set rank to NONE to prevent it from being autoplugged until
errors are handled properly (see #357212).
2006-09-22 15:59:59 +00:00
Edgard Lima
7a539c59bf Add Video Orientation interface support to v4l2src.
Original commit message from CVS:
Add Video Orientation interface support to v4l2src.
2006-09-19 13:08:35 +00:00
Edgard Lima
1759dfcbed Fix GST_BUFFER_DURATION.
Original commit message from CVS:
Fix GST_BUFFER_DURATION.
2006-09-18 15:36:14 +00:00
Edgard Lima
346fe9f6cf The test application and the plgind error messages has been improved.
Original commit message from CVS:
The test application and the plgind error messages has been improved.
2006-09-15 19:11:00 +00:00
Stefan Kost
4998a5a548 sys/v4l2/: Whitespace cleanups, dashify property-names.
Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2object.c:
(gst_v4l2_object_install_properties_helper):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_class_init):
* sys/v4l2/gstv4l2src.h:
Whitespace cleanups, dashify property-names.
2006-09-02 14:45:04 +00:00
Stefan Kost
97a46ffce6 sys/v4l2/: Cleanup error messages and unify header comments
Original commit message from CVS:
* sys/v4l2/gstv4l2.c:
* sys/v4l2/gstv4l2colorbalance.c:
* sys/v4l2/gstv4l2colorbalance.h:
* sys/v4l2/gstv4l2object.c:
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c:
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2tuner.c:
* sys/v4l2/gstv4l2tuner.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/gstv4l2xoverlay.h:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_get_capabilities),
(gst_v4l2_open):
* sys/v4l2/v4l2_calls.h:
* sys/v4l2/v4l2src_calls.c: (gst_v4l2src_queue_frame),
(gst_v4l2src_capture_init):
* sys/v4l2/v4l2src_calls.h:
Cleanup error messages and unify header comments
2006-09-02 14:28:55 +00:00
Edgard Lima
afae632a69 Another small fix to set_caps function.
Original commit message from CVS:
Another small fix to set_caps function.
2006-08-30 18:01:52 +00:00
Edgard Lima
f1832d00b0 Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
Original commit message from CVS:
Send new_segment in GST_FORMAT_TIME instead of in GST_FORMAT_BYTES.
2006-08-30 13:30:13 +00:00
Edgard Lima
b5c8a13694 A small fix to set_caps function.
Original commit message from CVS:
A small fix to set_caps function.
2006-08-30 11:36:06 +00:00
Edgard Lima
b368225bc6 Fixed framerate negotiation.
Original commit message from CVS:
Fixed framerate negotiation.
2006-08-29 20:59:47 +00:00
Stefan Kost
23707c1032 sys/v4l2/v4l2_calls.c: add comments and more debug logging
Original commit message from CVS:
* sys/v4l2/v4l2_calls.c: (gst_v4l2_fill_lists):
add comments and more debug logging
2006-08-28 14:59:05 +00:00
Edgard Lima
a411f9e71a Fix set_caps to set width and height to the values the driver is really working with.
Original commit message from CVS:
Fix set_caps to set width and height to the values the driver is really working with.
2006-08-24 00:40:07 +00:00
Edgard Lima
d3c716b694 Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
Original commit message from CVS:
Fixed query size to work with drivers that uses intermediate step like "width * height" to find closest size.
2006-08-22 20:39:26 +00:00
Tim-Philipp Müller
4843f92356 Fix leaks (#351502).
Original commit message from CVS:
* ext/libfame/gstlibfame.c: (gst_fameenc_get_property):
* sys/glsink/glimagesink.c: (gst_glimage_sink_get_property):
Fix leaks (#351502).
2006-08-15 19:29:58 +00:00
Sébastien Moutte
454c252335 sys/directsound/gstdirectsoundsink.*: Add an attenuation property that will directly attenuate the directsound buffer.
Original commit message from CVS:
* sys/directsound/gstdirectsoundsink.h:
* sys/directsound/gstdirectsoundsink.c:
Add an attenuation property that will directly attenuate the
directsound buffer.
Change the size of the directsound secondary buffer to a half second.
Add more debug logs.
Add a lock to protect dsound buffer write access.
Fix a bad implementation of reset.
* sys/directsound/gstdirectdrawsink.c:
* sys/directsound/gstdirectdrawsink.h:
Add a keep_aspect_ratio property.
Do not use overlay if not supported.
Add more debug logs.
Remove overwrite of WM_ERASEBKGND message handling. It was not
redrawing border when keep_aspect_ratio was enabled.
* win32/common/config.h:
update version waiting an auto-generated config.h
2006-07-24 21:43:06 +00:00
Martin Szulecki
c8e459496b sys/v4l2/gstv4l2object.c: If "device-name" is requested and the device is not open, try to temporarily open it to obt...
Original commit message from CVS:
Patch by: Martin Szulecki
* sys/v4l2/gstv4l2object.c: (gst_v4l2_object_get_property_helper):
If "device-name" is requested and the device is not
open, try to temporarily open it to obtain this
information (#342494).
2006-07-19 14:36:00 +00:00
Tim-Philipp Müller
f8783d2cc6 Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.
Original commit message from CVS:
* ext/directfb/dfbvideosink.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/libmms/gstmms.c:
* ext/neon/gstneonhttpsrc.c:
* ext/theora/theoradec.c:
* gst/freeze/gstfreeze.c:
* gst/gdp/gstgdpdepay.c:
* gst/gdp/gstgdppay.c:
* sys/glsink/glimagesink.c:
Use GST_DEBUG_CATEGORY_STATIC where possible (#342503)
and fix one GObject boilerplate macro.
2006-06-23 09:09:44 +00:00
Tim-Philipp Müller
3e5431bbcb ext/libmms/gstmms.c: Set caps on outgoing buffers.
Original commit message from CVS:
* ext/libmms/gstmms.c: (gst_mms_create):
Set caps on outgoing buffers.
* sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_init):
Comment out unused global instance variable.
2006-06-12 10:53:26 +00:00
Stefan Kost
fd1273d9bb Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
Original commit message from CVS:
* ext/alsaspdif/alsaspdifsink.h:
* ext/amrwb/gstamrwbdec.h:
* ext/amrwb/gstamrwbenc.h:
* ext/amrwb/gstamrwbparse.h:
* ext/arts/gst_arts.h:
* ext/artsd/gstartsdsink.h:
* ext/audiofile/gstafparse.h:
* ext/audiofile/gstafsink.h:
* ext/audiofile/gstafsrc.h:
* ext/audioresample/gstaudioresample.h:
* ext/bz2/gstbz2dec.h:
* ext/bz2/gstbz2enc.h:
* ext/dirac/gstdiracdec.h:
* ext/directfb/dfbvideosink.h:
* ext/divx/gstdivxdec.h:
* ext/divx/gstdivxenc.h:
* ext/dts/gstdtsdec.h:
* ext/faac/gstfaac.h:
* ext/gsm/gstgsmdec.h:
* ext/gsm/gstgsmenc.h:
* ext/ivorbis/vorbisenc.h:
* ext/libfame/gstlibfame.h:
* ext/nas/nassink.h:
* ext/neon/gstneonhttpsrc.h:
* ext/polyp/polypsink.h:
* ext/sdl/sdlaudiosink.h:
* ext/sdl/sdlvideosink.h:
* ext/shout/gstshout.h:
* ext/snapshot/gstsnapshot.h:
* ext/sndfile/gstsf.h:
* ext/swfdec/gstswfdec.h:
* ext/tarkin/gsttarkindec.h:
* ext/tarkin/gsttarkinenc.h:
* ext/theora/theoradec.h:
* ext/wavpack/gstwavpackdec.h:
* ext/wavpack/gstwavpackparse.h:
* ext/xine/gstxine.h:
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.h:
* gst/cdxaparse/gstcdxaparse.h:
* gst/cdxaparse/gstcdxastrip.h:
* gst/colorspace/gstcolorspace.h:
* gst/festival/gstfestival.h:
* gst/freeze/gstfreeze.h:
* gst/gdp/gstgdpdepay.h:
* gst/gdp/gstgdppay.h:
* gst/modplug/gstmodplug.h:
* gst/mpeg1sys/gstmpeg1systemencode.h:
* gst/mpeg1videoparse/gstmp1videoparse.h:
* gst/mpeg2sub/gstmpeg2subt.h:
* gst/mpegaudioparse/gstmpegaudioparse.h:
* gst/multifilesink/gstmultifilesink.h:
* gst/overlay/gstoverlay.h:
* gst/playondemand/gstplayondemand.h:
* gst/qtdemux/qtdemux.h:
* gst/rtjpeg/gstrtjpegdec.h:
* gst/rtjpeg/gstrtjpegenc.h:
* gst/smooth/gstsmooth.h:
* gst/smoothwave/gstsmoothwave.h:
* gst/spectrum/gstspectrum.h:
* gst/speed/gstspeed.h:
* gst/stereo/gststereo.h:
* gst/switch/gstswitch.h:
* gst/tta/gstttadec.h:
* gst/tta/gstttaparse.h:
* gst/videodrop/gstvideodrop.h:
* gst/xingheader/gstxingmux.h:
* sys/directdraw/gstdirectdrawsink.h:
* sys/directsound/gstdirectsoundsink.h:
* sys/dxr3/dxr3audiosink.h:
* sys/dxr3/dxr3spusink.h:
* sys/dxr3/dxr3videosink.h:
* sys/qcam/gstqcamsrc.h:
* sys/vcd/vcdsrc.h:
Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
2006-06-01 22:00:26 +00:00
Stefan Kost
e7cfdce6ce gst/spectrum/: added another example
Original commit message from CVS:
* gst/spectrum/Makefile.am:
* gst/spectrum/demo-audiotest.c: (on_frequency_changed),
(spectrum_chain), (main):
* gst/spectrum/demo-osssrc.c:
added another example
* sys/v4l2/gstv4l2src.c:
fix typo
2006-05-26 22:35:00 +00:00
Edgard Lima
4e5f3fae24 I forget to add sys/v4l2/gstv4l2xoverlay.c in las commit
Original commit message from CVS:
I forget to add sys/v4l2/gstv4l2xoverlay.c in las commit
2006-05-19 18:58:05 +00:00
Edgard Lima
53ff9bc18a Some clean-ups requested by wingo in bug #338818.
Original commit message from CVS:
Some clean-ups requested by wingo in bug #338818.
2006-05-19 18:31:25 +00:00
Stefan Kost
957ad05fa6 configure.ac: Check for X11
Original commit message from CVS:
* configure.ac:
Check for X11
* sys/v4l2/gstv4l2object.c: (gst_v4l2_class_probe_devices):
* sys/v4l2/gstv4l2object.h:
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_iface_supported):
* sys/v4l2/gstv4l2src.h:
* sys/v4l2/gstv4l2xoverlay.c: (gst_v4l2_xoverlay_open):
* sys/v4l2/gstv4l2xoverlay.h:
Code cleanups, fix debug macros
2006-05-18 19:34:47 +00:00
Edgard Lima
4a246a0d9d Changes proposed by Wingo in bug #338818.
Original commit message from CVS:
Changes proposed by Wingo in bug #338818.
2006-05-11 17:59:59 +00:00
Martin Rubli
d10ee34f44 Fix fourcc name printed out. Patch from Martin Rubli.
Original commit message from CVS:
Fix fourcc name printed out. Patch from Martin Rubli.
2006-05-08 19:21:18 +00:00
Martin Rubli
ab273cf986 Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate dete...
Original commit message from CVS:
Some changes proposed by wingo in bug #338818 (but not everything yet). Patch from Martin Rubli to fix framerate detection.
2006-05-05 20:12:59 +00:00
Edgard Lima
f2ff9c1617 Fix get_caps func to work when no framerate is available and the caps isn't simple.
Original commit message from CVS:
Fix get_caps func to work when no framerate is available and the caps isn't simple.
2006-05-02 21:52:48 +00:00
Edgard Lima
3281a63637 Few improvements to move to good.
Original commit message from CVS:
Few improvements to move to good.
2006-05-01 21:37:51 +00:00
Thomas Vander Stichele
161d53e6da moved ximagesrc to good
Original commit message from CVS:
moved ximagesrc to good
2006-04-28 19:23:20 +00:00
Thomas Vander Stichele
b0ba6af066 borgify naming
Original commit message from CVS:
borgify naming
2006-04-28 16:51:33 +00:00
Thomas Vander Stichele
4f4665ccfd doc tweaks
Original commit message from CVS:
doc tweaks
2006-04-28 16:46:52 +00:00
Thomas Vander Stichele
daf3b2afb6 clean up Makefile.am
Original commit message from CVS:
clean up Makefile.am
2006-04-28 16:15:20 +00:00
Stefan Kost
bf3fd4f95d Define GstElementDetails as const and also static (when defined as global)
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c:
* ext/amrwb/gstamrwbenc.c:
* ext/amrwb/gstamrwbparse.c:
* ext/arts/gst_arts.c:
* ext/artsd/gstartsdsink.c:
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/audioresample/gstaudioresample.c:
* ext/bz2/gstbz2dec.c:
* ext/bz2/gstbz2enc.c:
* ext/cdaudio/gstcdaudio.c:
* ext/directfb/dfbvideosink.c:
* ext/divx/gstdivxdec.c:
* ext/divx/gstdivxenc.c:
* ext/dts/gstdtsdec.c: (gst_dtsdec_base_init):
* ext/faac/gstfaac.c: (gst_faac_base_init):
* ext/faad/gstfaad.c:
* ext/gsm/gstgsmdec.c:
* ext/gsm/gstgsmenc.c:
* ext/hermes/gsthermescolorspace.c:
* ext/ivorbis/vorbisfile.c:
* ext/lcs/gstcolorspace.c:
* ext/libfame/gstlibfame.c:
* ext/libmms/gstmms.c: (gst_mms_base_init):
* ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init):
* ext/nas/nassink.c: (gst_nassink_base_init):
* ext/neon/gstneonhttpsrc.c:
* ext/sdl/sdlaudiosink.c:
* ext/sdl/sdlvideosink.c:
* ext/shout/gstshout.c:
* ext/snapshot/gstsnapshot.c:
* ext/sndfile/gstsf.c:
* ext/swfdec/gstswfdec.c:
* ext/tarkin/gsttarkindec.c:
* ext/tarkin/gsttarkinenc.c:
* ext/theora/theoradec.c:
* ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init):
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init):
* ext/xvid/gstxviddec.c:
* ext/xvid/gstxvidenc.c:
* gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init):
* gst/chart/gstchart.c:
* gst/colorspace/gstcolorspace.c:
* gst/deinterlace/gstdeinterlace.c:
* gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init):
* gst/festival/gstfestival.c:
* gst/filter/gstbpwsinc.c:
* gst/filter/gstiir.c:
* gst/filter/gstlpwsinc.c:
* gst/freeze/gstfreeze.c:
* gst/games/gstpuzzle.c: (gst_puzzle_base_init):
* gst/librfb/gstrfbsrc.c:
* gst/mixmatrix/mixmatrix.c:
* gst/mpeg1sys/gstmpeg1systemencode.c:
* gst/mpeg1videoparse/gstmp1videoparse.c:
* gst/mpeg2sub/gstmpeg2subt.c:
* gst/mpegaudioparse/gstmpegaudioparse.c:
* gst/multifilesink/gstmultifilesink.c:
* gst/overlay/gstoverlay.c:
* gst/passthrough/gstpassthrough.c:
* gst/playondemand/gstplayondemand.c:
* gst/qtdemux/qtdemux.c:
* gst/rtjpeg/gstrtjpegdec.c:
* gst/rtjpeg/gstrtjpegenc.c:
* gst/smooth/gstsmooth.c:
* gst/smoothwave/gstsmoothwave.c:
* gst/spectrum/gstspectrum.c:
* gst/speed/gstspeed.c:
* gst/stereo/gststereo.c:
* gst/switch/gstswitch.c:
* gst/tta/gstttadec.c: (gst_tta_dec_base_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_base_init):
* gst/vbidec/gstvbidec.c:
* gst/videocrop/gstvideocrop.c:
* gst/videodrop/gstvideodrop.c:
* gst/virtualdub/gstxsharpen.c:
* gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init):
* gst/y4m/gsty4mencode.c:
* sys/cdrom/gstcdplayer.c:
* sys/directdraw/gstdirectdrawsink.c:
* sys/directsound/gstdirectsoundsink.c:
* sys/glsink/glimagesink.c:
* sys/qcam/gstqcamsrc.c:
* sys/v4l2/gstv4l2src.c:
* sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init):
* sys/ximagesrc/ximagesrc.c:
Define GstElementDetails as const and also static (when defined as
global)
2006-04-25 21:56:38 +00:00
Edgard Lima
13058bdf4c Added a couple of ifdefs to make it compile with other kernels.
Original commit message from CVS:
Added a couple of ifdefs to make it compile with other kernels.
2006-04-20 17:29:56 +00:00
Edgard Lima
b79a522ddf Just added a gtk-doc comment.
Original commit message from CVS:
Just added a gtk-doc comment.
2006-04-17 19:43:32 +00:00
Edgard Lima
3091a399eb Fixed some memory leaks.
Original commit message from CVS:
Fixed some memory leaks.
2006-04-13 21:45:57 +00:00
Edgard Lima
86f9a0ed31 Fix to work in read mode.
Original commit message from CVS:
Fix to work in read mode.
2006-04-12 21:57:02 +00:00
Stefan Kost
aa99af6027 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Original commit message from CVS:
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
* ext/arts/gst_arts.c: (gst_arts_class_init):
* ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
* ext/audiofile/gstafsink.c: (gst_afsink_class_init):
* ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
* ext/audioresample/gstaudioresample.c:
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
* ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
* ext/hermes/gsthermescolorspace.c:
(gst_hermes_colorspace_class_init):
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
* ext/jack/gstjack.c: (gst_jack_class_init):
* ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
* ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
* ext/nas/nassink.c: (gst_nassink_class_init):
* ext/shout/gstshout.c: (gst_icecastsend_class_init):
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
* ext/sndfile/gstsf.c: (gst_sf_class_init):
* ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
(gst_swfdec_class_init):
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
* ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
* gst/chart/gstchart.c: (gst_chart_class_init):
* gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
* gst/festival/gstfestival.c: (gst_festival_class_init):
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
* gst/filter/gstiir.c: (gst_iir_class_init):
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
* gst/mpeg1sys/gstmpeg1systemencode.c:
(gst_system_encode_class_init):
* gst/mpeg1videoparse/gstmp1videoparse.c:
(gst_mp1videoparse_class_init):
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/overlay/gstoverlay.c: (gst_overlay_class_init):
* gst/passthrough/gstpassthrough.c: (passthrough_class_init):
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
* gst/smooth/gstsmooth.c: (gst_smooth_class_init):
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
* gst/stereo/gststereo.c: (gst_stereo_class_init):
* gst/switch/gstswitch.c: (gst_switch_class_init):
* gst/tta/gstttadec.c: (gst_tta_dec_class_init):
* gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
* gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
* gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
* sys/directsound/gstdirectsoundsink.c:
(gst_directsoundsink_class_init):
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
* sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
* sys/v4l2/gstv4l2colorbalance.c:
(gst_v4l2_color_balance_channel_class_init):
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
(gst_v4l2_tuner_norm_class_init):
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2006-04-08 21:48:01 +00:00
Stefan Kost
c93876f799 Fix broken GObject macros
Original commit message from CVS:
* ext/xine/gstxine.h:
* gst-libs/gst/play/play.h:
* sys/v4l2/gstv4l2element.h:
* sys/ximagesrc/ximageutil.h:
Fix broken GObject macros
2006-04-08 18:41:07 +00:00
Zaheer Abbas Merali
dce315f7b1 Typo fix, s/XFree86/X11 and added doc blurb saying that it fixates to 25fps
Original commit message from CVS:
2006-04-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* ext/amrwb/amrwb-code/Makefile.am:
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_recalc),
(gst_ximagesrc_create), (gst_ximagesrc_set_property):
Typo fix, s/XFree86/X11 and added doc blurb saying that it fixates to
25fps
2006-04-07 15:53:43 +00:00
Zaheer Abbas Merali
26b748c0fb sys/ximagesrc/ximagesrc.c: Fix typo, C++ style comments and other small cleanups
Original commit message from CVS:
2006-04-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>

* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_recalc),
(composite_pixel), (gst_ximagesrc_ximage_get),
(gst_ximagesrc_create), (gst_ximagesrc_set_property):
Fix typo, C++ style comments and other small cleanups
2006-04-07 15:27:40 +00:00
Thomas Vander Stichele
99d8cf0d15 add taglib checks and docs
Original commit message from CVS:
add taglib checks and docs
2006-04-01 16:50:49 +00:00