Commit graph

17 commits

Author SHA1 Message Date
Benjamin Otte
33c2f5fb01 Add -Wwrite-strings
and fix its warnings
2010-03-22 13:16:33 +01:00
Benjamin Otte
775c7584fd gst_element_class_set_details => gst_element_class_set_details_simple 2010-03-18 22:46:41 +01:00
Stefan Kost
7f1ac755e4 realaudiodec: reindent and make valgrind happy
The state-change tests reported access to uninitialized memory.
2009-11-19 21:11:36 +02:00
Tim-Philipp Müller
114425d7ee real: differentiate between 'module does not exist' and genuine module opening errors
Don't log a GST_ERROR if one of the codec modules we were looking for
doesn't exist. That's not a genuine error, but somewhat expected.
2009-07-19 15:42:10 +01:00
Wim Taymans
7d5e4116a6 gst/real/gstrealaudiodec.c: Disable sipro on 64bits, it crashes.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_probe_modules):
Disable sipro on 64bits, it crashes.
2008-06-13 18:25:18 +00:00
Wim Taymans
1a39f60d9f gst/real/gstrealaudiodec.c: Add raversions we can support on the caps.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain),
(close_library), (open_library),
(gst_real_audio_dec_probe_modules), (gst_real_audio_dec_getcaps),
(gst_real_audio_dec_setcaps), (gst_real_audio_dec_init),
(gst_real_audio_dec_change_state), (gst_real_audio_dec_finalize):
Add raversions we can support on the caps.
Refactor the loading of the real codecs like realvideo so that we can
implement probing.
Probe all supported formats by trying to load the .so files, only report
the versions on the caps that we can actually load.
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(gst_real_video_dec_getcaps), (gst_real_video_dec_setcaps),
(open_library), (close_library),
(gst_real_video_dec_probe_modules),
(gst_real_video_dec_change_state), (gst_real_video_dec_init),
(gst_real_video_dec_finalize), (gst_real_video_dec_class_init):
* gst/real/gstrealvideodec.h:
Change the loading of the library like the audio decoder.
Probe the supported formats by trying to load the .so files and only
report the versions on the caps that we can actually load.
2008-06-13 18:03:16 +00:00
Jan Schmidt
1fe4050c0a gst/: Fix compiler warnings shown by Forte.
Original commit message from CVS:
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer):
* gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain):
* gst/nsf/nes6502.c: (nes6502_execute):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
* gst/real/gstrealvideodec.c: (open_library):
* gst/real/gstrealvideodec.h:
* gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink):
Fix compiler warnings shown by Forte.
2007-10-08 17:46:45 +00:00
Wim Taymans
9cf09a5871 gst/real/gstrealaudiodec.c: Small cleanups.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
Small cleanups.
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(open_library):
Remove fragment and timestamp correction code from the decoder to make
the caps and buffer contents compatible with matroska/ffdec_rvx0/...
2007-08-07 10:51:59 +00:00
Edward Hervey
1b0a8436b4 gst/real/gstrealaudiodec.c: Use the proper context variable when setting the password !
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
Use the proper context variable when setting the password !
LOG => WARNING for errors.
Give proper path when opening the codec (needs a '/' at the end).
2007-07-26 16:16:01 +00:00
Edward Hervey
2a8bc6a2e1 gst/real/: Improved search algorithm for location of real .so files.
Original commit message from CVS:
reviewed by: Edward Hervey  <bilboed@bilboed.com>
* gst/real/gstreal.c: (plugin_init):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps),
(gst_real_audio_dec_finalize), (gst_real_audio_dec_set_property),
(gst_real_audio_dec_get_property), (gst_real_audio_dec_class_init):
* gst/real/gstrealvideodec.c: (open_library),
(gst_real_video_dec_finalize), (gst_real_video_dec_set_property),
(gst_real_video_dec_get_property), (gst_real_video_dec_class_init):
* gst/real/gstrealvideodec.h:
Improved search algorithm for location of real .so files.
Fixes #393461
2007-07-24 14:36:54 +00:00
Tim-Philipp Müller
a6ec2ff8d5 gst/real/: Don't crash when we get a buffer and our input caps haven't been set yet; also, don't leak all the input b...
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain),
(gst_real_audio_dec_setcaps):
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain):
Don't crash when we get a buffer and our input caps haven't been set
yet; also, don't leak all the input buffers (realaudiodec only).
2007-05-16 17:14:43 +00:00
Tim-Philipp Müller
e792718ddf gst/real/: Use GModule instead of using dlsym() directly. Fixes #430598.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps),
(gst_real_audio_dec_finalize):
* gst/real/gstrealaudiodec.h:
* gst/real/gstrealvideodec.c: (open_library), (close_library):
* gst/real/gstrealvideodec.h:
Use GModule instead of using dlsym() directly. Fixes #430598.
2007-05-06 15:25:05 +00:00
Tim-Philipp Müller
6ca3c959b6 ext/dts/gstdtsdec.c: A few small clean-ups.
Original commit message from CVS:
* ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_sink_event):
A few small clean-ups.
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
More debug output for failure cases.
2007-03-02 18:24:14 +00:00
Tim-Philipp Müller
13f0156587 gst/real/: Use gst_pad_use_fixed_caps() on source pads, to avoid negotiation errors in certain situations (e.g. dec !...
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_init):
* gst/real/gstrealvideodec.c: (gst_real_video_dec_init):
Use gst_pad_use_fixed_caps() on source pads, to avoid negotiation
errors in certain situations (e.g. dec ! cs ! ximagesink and the
imagesink window is resized); also, some minor clean-ups.
2007-02-26 10:32:30 +00:00
Stefan Kost
6b9ccde0a0 gst/real/: Fix classification in GstElementDetails.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c:
* gst/real/gstrealvideodec.c:
Fix classification in GstElementDetails.
2007-01-31 10:02:05 +00:00
Edward Hervey
e049792b5d gst/real/gstrealaudiodec.c: Don't call the RAFreeDecoder since it randomly causes segfaults.
Original commit message from CVS:
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_finalize):
Don't call the RAFreeDecoder since it randomly causes segfaults.
* gst/real/gstrealaudiodec.h:
indent properly.
2007-01-06 14:08:26 +00:00
Lutz Mueller
bda3b5839a gst/real/: Added RealAudio wrapper elementfactory.
Original commit message from CVS:
Patch by: Lutz Mueller <lutz@topfrose.de>
* gst/real/Makefile.am:
* gst/real/gstreal.c: (plugin_init):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_chain),
(gst_real_audio_dec_setcaps), (gst_real_audio_dec_init),
(gst_real_audio_dec_base_init), (gst_real_audio_dec_change_state),
(gst_real_audio_dec_finalize), (gst_real_audio_dec_set_property),
(gst_real_audio_dec_get_property), (gst_real_audio_dec_class_init):
* gst/real/gstrealaudiodec.h:
Added RealAudio wrapper elementfactory.
Modified structures so it can also work on x86_64 using the
adequate .so .
2007-01-06 10:41:46 +00:00