Commit graph

21 commits

Author SHA1 Message Date
Wim Taymans
67ec288392 gst/real/gstrealvideodec.*: Don't generate an error for occasional decoding errors.
Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(open_library), (gst_real_video_dec_init),
(gst_real_video_dec_set_property),
(gst_real_video_dec_get_property), (gst_real_video_dec_class_init):
* gst/real/gstrealvideodec.h:
Don't generate an error for occasional decoding errors.
Add max-errors property.
Error out when we receive max-errors in a row. Fixes #478159.
2007-09-19 13:50:44 +00:00
Wim Taymans
27f25ccd9b gst/real/gstrealvideodec.c: Add some more debugging.
Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(gst_real_video_dec_setcaps):
Add some more debugging.
Don't set LONG for width/height in caps.
Set correct output buffer size when caps changed.
The custom message sent to the decoder should not include the format and
subformat. Fixes #471554.
2007-09-05 21:09:08 +00:00
Wim Taymans
966bbca4bc gst/real/gstrealvideodec.*: Remove some old unused vars.
Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_chain),
(gst_real_video_dec_activate_push), (open_library),
(gst_real_video_dec_init), (gst_real_video_dec_finalize):
* gst/real/gstrealvideodec.h:
Remove some old unused vars.
2007-08-07 15:21:17 +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
Tim-Philipp Müller
58791b4e6f gst/real/Makefile.am: And dist the new header file too.
Original commit message from CVS:
* gst/real/Makefile.am:
And dist the new header file too.
2007-07-25 18:10:04 +00:00
Tim-Philipp Müller
954ce759ef gst/real/gstreal.h: Add missing header file.
Original commit message from CVS:
* gst/real/gstreal.h:
Add missing header file.
2007-07-25 14:36:25 +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
ff14de08d2 gst/real/gstrealvideodec.c: Printf fix in debug statement; also print the right number there.
Original commit message from CVS:
* gst/real/gstrealvideodec.c: (gst_real_video_dec_decode):
Printf fix in debug statement; also print the right number there.
2007-06-06 09:11:31 +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
Tim-Philipp Müller
abe3e58b1b gst/real/Makefile.am: Fix build (add LIBS and CFLAGS for gst-plugins-base stuff).
Original commit message from CVS:
* gst/real/Makefile.am:
Fix build (add LIBS and CFLAGS for gst-plugins-base stuff).
2007-01-09 10:06:28 +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
30d26643a6 gst/real/gstrealvideodec.*: Implement error recovery on setcaps failure.
Original commit message from CVS:
Patch by: Lutz Mueller <lutz@topfrose.de>
* gst/real/gstrealvideodec.c: (gst_real_video_dec_decode),
(gst_real_video_dec_setcaps), (open_library), (close_library),
(gst_real_video_dec_finalize):
* gst/real/gstrealvideodec.h:
Implement error recovery on setcaps failure.
2007-01-06 10:58:13 +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
Edward Hervey
5b4a325811 configure.ac: Real video .so are now also available for x86_64, so we can build the
Original commit message from CVS:
* configure.ac:
Real video .so are now also available for x86_64, so we can build the
Real plugin on i386 AND x86_64.
* gst/real/Makefile.am:
* gst/real/gstreal.c: (plugin_init):
New plugin file for real .so wrapper plugins.
* gst/real/gstrealvideodec.c: (gst_real_video_dec_alloc_buffer),
(gst_real_video_dec_decode), (gst_real_video_dec_chain),
(gst_real_video_dec_activate_push), (gst_real_video_dec_setcaps),
(open_library), (close_library), (gst_real_video_dec_init),
(gst_real_video_dec_base_init), (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:
Moved RealVideo element to separate file
Cleaned up code some more.
Make it work on x86_64.
Try several possible locations for .so
Separate opening/closing libraries in separate functions.
2007-01-05 18:15:52 +00:00
Edward Hervey
2d4cbb090c gst/real/gstreal.c: Use codec_data supplied in caps.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* gst/real/gstreal.c:
(gst_realdec_setcaps): Use codec_data supplied in caps.
(gst_realdec_get_property): Correctly return default path.
(gst_realdec_class_init): Remove unused state_change method.
2007-01-02 11:06:48 +00:00
Edward Hervey
f905a15acc New plugin for decoding RealVideo Streams using the x86 32bit shared libraries.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward@fluendo.com>
* configure.ac:
* gst/real/Makefile.am:
* gst/real/gstreal.c: (gst_realdec_alloc_buffer),
(gst_realdec_decode), (gst_realdec_chain),
(gst_realdec_activate_push), (gst_realdec_setcaps),
(gst_realdec_init), (gst_realdec_base_init),
(gst_realdec_change_state), (gst_realdec_finalize),
(gst_realdec_set_property), (gst_realdec_get_property),
(gst_realdec_class_init), (plugin_init):
New plugin for decoding RealVideo Streams using the x86 32bit
shared libraries.
Closes #354174
2007-01-01 17:47:53 +00:00