Commit graph

3386 commits

Author SHA1 Message Date
Tim-Philipp Müller
cb23bad1d5 ext/cdio/Makefile.am: Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be required for Cygwin, see #317048)
Original commit message from CVS:
* ext/cdio/Makefile.am:
Add GST_BASE_CFLAGS and GST_BASE_LIBS (seems to be
required for Cygwin, see #317048)
* gst/rtp/gstasteriskh263.c:
Cygwin has includes for both the unix network socket API
and the windows API, but only one can be included, so fix
includes to only use one or the other, prefering the unxi
one (#317048).
2006-02-23 20:08:58 +00:00
Tim-Philipp Müller
56f0cea8e6 Port dvdsubdec to 0.10
Original commit message from CVS:
* configure.ac:
* gst/dvdsub/Makefile.am:
* gst/dvdsub/gstdvdsubdec.c: (gst_dvd_sub_dec_base_init),
(gst_dvd_sub_dec_class_init), (gst_dvd_sub_dec_init),
(gst_dvd_sub_dec_finalize), (gst_dvd_sub_dec_src_event),
(gst_dvd_sub_dec_get_event_delay), (gst_dvd_sub_dec_parse_subpic),
(gst_get_nibble), (gst_setup_palette), (gst_get_rle_code),
(gst_draw_rle_line), (gst_dvd_sub_dec_merge_title),
(gst_send_empty_fill), (gst_send_subtitle_frame),
(gst_dvd_sub_dec_advance_time), (gst_dvd_sub_dec_chain),
(gst_dvd_sub_dec_sink_event), (gst_dvd_sub_dec_handle_dvd_event),
(plugin_init):
* gst/dvdsub/gstdvdsubdec.h:
Port dvdsubdec to 0.10
2006-02-22 14:54:54 +00:00
Jan Schmidt
1d66c5e4e9 gst/mpegstream/gstdvddemux.c: Push the rank up to SECONDARY+1 so that dvddemux is preferred over mpegdemux for MPEG-2...
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_plugin_init):
Push the rank up to SECONDARY+1 so that dvddemux is preferred over
mpegdemux for MPEG-2 video streams.
2006-02-21 16:24:10 +00:00
Jan Schmidt
60af430c7f configure.ac: Bump nano back to CVS
Original commit message from CVS:

* configure.ac:
Bump nano back to CVS
2006-02-20 19:16:10 +00:00
Jan Schmidt
e844665960 configure.ac: releasing 0.10.2, "Season to Taste"
Original commit message from CVS:
* configure.ac:
releasing 0.10.2, "Season to Taste"
2006-02-20 19:13:54 +00:00
Jan Schmidt
0bb0050443 configure.ac: releasing 0.10.1.3 prelease for 0.10.2
Original commit message from CVS:
* configure.ac:
releasing 0.10.1.3 prelease for 0.10.2
2006-02-19 23:45:34 +00:00
Tim-Philipp Müller
7858b15ed2 gst/asfdemux/gstasfdemux.c: In sink event handler, release object lock again _before_ sending EOS event downstream (#...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_sink_event):
In sink event handler, release object lock again
_before_ sending EOS event downstream (#313838).
2006-02-17 17:58:44 +00:00
Christian Schaller
97b5add7e6 fix rank of asfdemux
Original commit message from CVS:
fix rank of asfdemux
2006-02-17 17:54:37 +00:00
Jan Schmidt
11291dda9d configure.ac: releasing 0.10.1.2 prelease for 0.10.2
Original commit message from CVS:
* configure.ac:
releasing 0.10.1.2 prelease for 0.10.2
2006-02-17 15:08:28 +00:00
Christian Schaller
d2f47cef0a latest updates
Original commit message from CVS:
latest updates
2006-02-17 15:02:30 +00:00
Tim-Philipp Müller
c6ca130b97 ext/mpeg2dec/gstmpeg2dec.c: When we need to crop the output buffer, make sure we create a buffer of the right size an...
Original commit message from CVS:
* ext/mpeg2dec/gstmpeg2dec.c: (crop_copy_i420_buffer),
(crop_copy_i422_buffer), (crop_buffer):
When we need to crop the output buffer, make sure we
create a buffer of the right size and respect the implicit
striding used for I420 elsewhere in GStreamer (#331301).
2006-02-17 11:51:12 +00:00
Tim-Philipp Müller
42f6df91db ext/cdio/gstcdio.c: Init debug category (#331253).
Original commit message from CVS:
* ext/cdio/gstcdio.c: (plugin_init):
Init debug category (#331253).
2006-02-17 11:19:34 +00:00
Edward Hervey
d2445ecbf4 gst/asfdemux/gstasfdemux.c: Do not error out on non-recognized streams. Ignore them and allow playback of the other s...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_stream):
Do not error out on non-recognized streams. Ignore them and allow
playback of the other streams.
2006-02-17 10:24:56 +00:00
Jan Schmidt
1f14799cea gst/dvdlpcmdec/gstdvdlpcmdec.c: Add a small sanity check for LPCM reading.
Original commit message from CVS:
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_chain_dvd):
Add a small sanity check for LPCM reading.
2006-02-17 10:10:40 +00:00
Edward Hervey
821effe791 gst/asfdemux/gstasfdemux.c: Take into account the file properties preroll value for timestamping/newsegment. It's wei...
Original commit message from CVS:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file):
Take into account the file properties preroll value for
timestamping/newsegment. It's weird this value was commented out.
2006-02-17 09:54:43 +00:00
Wim Taymans
8d08722f55 gst/asfdemux/Makefile.am: More asf makefile fixing.
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
More asf makefile fixing.
2006-02-16 17:57:59 +00:00
Wim Taymans
92f24f4395 ext/lame/gstlame.c: Fix up lame a bit.
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_init), (gst_lame_chain),
(gst_lame_change_state):
Fix up lame a bit.
Apply patch #319782 by Gautier Portet.
2006-02-16 17:16:06 +00:00
Edward Hervey
1d4e8c977e gst/asfdemux/Makefile.am: But we do need to link against the riff libraryr.
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
But we do need to link against the riff libraryr.
2006-02-16 11:14:11 +00:00
Edward Hervey
ec51d1f77e gst/asfdemux/Makefile.am: We don't want asfmux.c yet.
Original commit message from CVS:
* gst/asfdemux/Makefile.am:
We don't want asfmux.c yet.
2006-02-16 11:08:51 +00:00
Jon Trowbridge
a2ac615910 ext/mad/gstmad.c: Port fixes for bugs 314771, 308772, 140237, and 302625
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_init), (scale), (gst_mad_update_info),
(gst_mad_sink_event), (gst_mad_check_caps_reset), (gst_mad_chain),
(gst_mad_change_state):
Port fixes for bugs 314771, 308772, 140237, and 302625
from 0.8 (Patch by Jonathan Matthew, Fixes #329575)
Use GST_EVENT_FLUSH_STOP to clear data from the current input
buffer, to avoid using it for any future decoding.
2006-02-16 09:50:43 +00:00
Tim-Philipp Müller
366b006b7d asfdemux ported to 0.10. Does still need a bit of work (seems like there's something funky going on when timestamping...
Original commit message from CVS:
* configure.ac:
* gst/asfdemux/asfheaders.c: (gst_asf_identify_guid),
(gst_asf_get_guid_nick):
* gst/asfdemux/asfheaders.h:
* gst/asfdemux/gstasf.c: (plugin_init):
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_base_init),
(gst_asf_demux_class_init), (gst_asf_demux_init),
(gst_asf_demux_sink_event), (gst_asf_demux_handle_seek_event),
(gst_asf_demux_handle_src_event),
(gst_asf_demux_get_current_offset), (gst_asf_demux_chain),
(gst_asf_demux_skip_bytes), (gst_asf_demux_identify_guid),
(gst_asf_demux_get_uint8), (gst_asf_demux_get_uint16),
(gst_asf_demux_get_uint32), (gst_asf_demux_get_uint64),
(gst_asf_demux_get_var_length), (gst_asf_demux_get_buffer),
(gst_asf_demux_get_bytes), (gst_asf_demux_get_string),
(gst_asf_demux_get_guid), (gst_asf_demux_get_obj_file),
(gst_asf_demux_get_bitrate_record),
(gst_asf_demux_get_obj_comment), (gst_asf_demux_get_obj_header),
(gst_asf_demux_get_obj_header_ext), (gst_asf_demux_get_obj_stream),
(gst_asf_demux_get_replicated_data), (gst_asf_demux_get_obj_data),
(gst_asf_demux_get_obj_data_correction),
(gst_asf_demux_get_stream_audio),
(gst_asf_demux_get_stream_correction),
(gst_asf_demux_get_stream_video),
(gst_asf_demux_get_stream_video_format),
(gst_asf_demux_get_stream), (gst_asf_demux_setup_pad),
(gst_asf_demux_add_audio_stream), (gst_asf_demux_add_video_stream),
(gst_asf_demux_process_stream),
(gst_asf_demux_get_gst_tag_from_tag_name),
(gst_asf_demux_commit_taglist),
(gst_asf_demux_process_ext_content_desc),
(gst_asf_demux_get_object_header), (gst_asf_demux_process_data),
(gst_asf_demux_process_header), (gst_asf_demux_process_file),
(gst_asf_demux_process_comment),
(gst_asf_demux_process_bitrate_props_object),
(gst_asf_demux_process_header_ext), (gst_asf_demux_process_object),
(gst_asf_demux_descramble_segment),
(gst_asf_demux_element_send_event),
(gst_asf_demux_send_event_unlocked), (gst_asf_demux_push_buffer),
(gst_asf_demux_process_chunk), (gst_asf_demux_process_segment),
(gst_asf_demux_handle_data), (gst_asf_demux_parse_data),
(gst_asf_demux_get_src_query_types),
(gst_asf_demux_handle_src_query), (gst_asf_demux_change_state):
* gst/asfdemux/gstasfdemux.h:
asfdemux ported to 0.10. Does still need a bit of work (seems like
there's something funky going on when timestamping video frames).
The seeking code is likely to make Wim cry, but hey, at least it
compiles.
2006-02-15 15:48:07 +00:00
Wim Taymans
2c813b4b21 ext/amrnb/amrnbdec.c: Some more comments.
Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_setcaps),
(gst_amrnbdec_chain), (gst_amrnbdec_state_change):
Some more comments.

* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer), (handle_slice):
Applied patch from Fabrizio Gennari, fixes #330844.
2006-02-15 10:18:39 +00:00
Tim-Philipp Müller
7e9d336ceb ext/dvdread/dvdreadsrc.*: Let's try to play the title the user set via the URI handler or via properties instead of a...
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_init),
(gst_dvd_read_src_class_init), (gst_dvd_read_src_start),
(gst_dvd_read_src_stop), (gst_dvd_read_src_goto_title),
(gst_dvd_read_src_set_property), (gst_dvd_read_src_get_property),
(gst_dvd_read_src_uri_get_uri), (gst_dvd_read_src_uri_set_uri):
* ext/dvdread/dvdreadsrc.h:
Let's try to play the title the user set via the URI handler or
via properties instead of always playing the first title. Also,
Also, count title/chapter/angle number in URI and properties
from 1 rather than 0.
2006-02-14 14:57:18 +00:00
Tim-Philipp Müller
024b052249 ext/dvdread/dvdreadsrc.c: Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable, otherwise GstBaseSrc will ...
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_get_size), (gst_dvd_read_src_do_seek),
(gst_dvd_read_src_do_duration_query):
Don't implement GstBaseSrc::get_size or GstBaseSrc::is_seekable,
otherwise GstBaseSrc will think we can operate pull_range based,
which we don't really, and typefinding will fail miserably.
Also, make seeking work somewhat (only works with flumpegdemux
at the moment, mpegstream needs fixing for that first).
2006-02-13 14:09:26 +00:00
Tim-Philipp Müller
0904aa12c9 ext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need, rather than gratuitously alloca...
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read),
(gst_dvd_read_src_create), (gst_dvd_read_src_src_event):
Only allocate buffer once we know exactly how much we need,
rather than gratuitously allocating 2MB-buffers all the time
even if we usually need much less than that. Also, demote
a debug message from DEBUG to LOG level.
2006-02-13 14:00:35 +00:00
Tim-Philipp Müller
50a7874949 ext/dvdread/dvdreadsrc.c: Add some more debugging and fix duration query in BYTES.
Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_class_init),
(gst_dvd_read_src_seekable), (gst_dvd_read_src_get_size),
(gst_dvd_read_src_do_seek), (gst_dvd_read_src_do_duration_query),
(gst_dvd_read_src_do_position_query):
Add some more debugging and fix duration query in BYTES.
2006-02-10 12:40:54 +00:00
Tim-Philipp Müller
50501c07be Half-baked port to 0.10. Needs some love in the seeking department, but at least it does something.
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/dvdread/Makefile.am:
* ext/dvdread/dvdreadsrc.c:
* ext/dvdread/dvdreadsrc.h:
Half-baked port to 0.10. Needs some love
in the seeking department, but at least
it does something.
* ext/dvdread/stream_labels.c:
* ext/dvdread/stream_labels.h:
Remove these (we use ISO-639 language codes internally; applications
that want to translate those into language names for display to the
user should rely on the iso-codes package for that).
2006-02-09 17:27:57 +00:00
Wim Taymans
b34a106764 ext/amrnb/amrnbdec.*: Fix amrnbdec, handle events, take copy from adapter since the decoder apparently writes in the ...
Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_init),
(gst_amrnbdec_setcaps), (gst_amrnbdec_event), (gst_amrnbdec_chain),
(gst_amrnbdec_state_change):
* ext/amrnb/amrnbdec.h:
Fix amrnbdec, handle events, take copy from adapter since the decoder
apparently writes in the source data.
Use some _scale_int, and precalc duration.
Fix some leaks, post ERROR messages.
2006-02-06 15:55:28 +00:00
Tim-Philipp Müller
2dcf1494c2 docs/plugins/: Add cdio plugin to docs.
Original commit message from CVS:
* docs/plugins/Makefile.am:
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
* docs/plugins/gst-plugins-good-plugins-sections.txt:
* docs/plugins/inspect/plugin-cdio.xml:
Add cdio plugin to docs.
* ext/cdio/gstcdiocddasrc.c:
Add gtk-doc blurb.
* ext/cdio/gstcdio.c:
The plugin is called 'cdio' not 'cddio'.
2006-02-06 11:34:23 +00:00
Tim-Philipp Müller
d7075170d8 gst/realmedia/rmdemux.c: One source pad not being linked is not an error condition when we're still parsing the heade...
Original commit message from CVS:
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
One source pad not being linked is not an error condition when we're
still parsing the header. In this case (e.g. where we don't have a
suitable decoder installed) just pretend everything is fine, so that
the demuxer will actually go on to signal no-more-pads when done
parsing the header, otherwise  decodebin/playbin will never post the
appropriate error message if decoders are not available.
2006-02-04 15:22:02 +00:00
Edgard Lima
a82a14f75d Just make it compile with --disable-gst-debug.
Original commit message from CVS:
Just make it compile with --disable-gst-debug.
2006-02-03 18:24:54 +00:00
Radoslaw Szkodzinski
bcd611761c ext/mad/gstmad.c: Merge patch from Radoslaw Szkodzinski (bug 326734)
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_convert_src), (scale),
(gst_mad_check_caps_reset), (gst_mad_chain):
Merge patch from Radoslaw Szkodzinski (bug 326734)
2006-01-31 22:03:30 +00:00
Stefan Kost
aef0f9cfb1 ext/mad/gstid3tag.c: fixing Gdate handling enabling mux/demux mode switching adding better debug output
Original commit message from CVS:
* ext/mad/gstid3tag.c: (tag_list_to_id3_tag_foreach),
(gst_id3_tag_get_tag_to_render), (gst_id3_tag_sink_event),
(gst_id3_tag_src_link), (gst_id3_tag_send_tag_event),
(gst_id3_tag_chain):
fixing Gdate handling
enabling mux/demux mode switching
adding better debug output
2006-01-30 22:00:18 +00:00
Tim-Philipp Müller
279475a917 gst/mpegstream/gstmpegparse.c: If we haven't set caps on a source pad yet, the caps on the pad are NULL, not un-fixed...
Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_send_buffer):
If we haven't set caps on a source pad yet, the caps on the
pad are NULL, not un-fixed. Set caps on outgoing buffers.
2006-01-30 18:57:45 +00:00
Tim-Philipp Müller
f0e3a8e101 ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest, lame expects us to keep the string...
Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_finalize), (gst_lame_class_init),
(gst_lame_init), (add_one_tag), (gst_lame_set_metadata):
* ext/lame/gstlame.h:
Contrary to what the const char in the lame API might suggest,
lame expects us to keep the strings we pass to id3tag_set_foo()
around; it doesn't free them either though, so we have to store
them somewhere and free them later when we can be sure lame
doesn't need them any longer.
2006-01-23 18:37:16 +00:00
Tim-Philipp Müller
9b224309a2 ext/lame/gstlame.c: don't pass an uninitialised string pointer to lame if we don't know how to handle the tag type, a...
Original commit message from CVS:
* ext/lame/gstlame.c: (add_one_tag):
Fix handling of GST_TAG_DATE (#311679), don't pass an
uninitialised string pointer to lame if we don't know
how to handle the tag type, and fix minor memory leak.
2006-01-23 15:02:04 +00:00
Tim-Philipp Müller
0560526695 ext/mad/gstmad.c: Fix debug message.
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Fix debug message.
2006-01-23 10:15:27 +00:00
Martin Soto
ba4f177426 gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event): Erase spurious call to gst_segment_set_newsegment.
Original commit message from CVS:
2006-01-22  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_process_event):
Erase spurious call to gst_segment_set_newsegment.
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event): Call
the superclass method when handling NEWSEGMENT events.
(gst_dvd_demux_handle_dvd_event): Get rid of dvd-audio-shutdown
and dvd-audio-restart event handling. There are currently less
hackish ways of handling the sparse audio stream problem.
2006-01-22 12:00:46 +00:00
Thomas Vander Stichele
e8805d7869 fix up error domains, error strings, and use of translation
Original commit message from CVS:
2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>

* ext/dvdnav/dvdnavsrc.c: (if):
* ext/dvdread/stream_labels.c:
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_segment):
* gst/realmedia/rmdemux.c: (gst_rmdemux_loop):
fix up error domains, error strings, and use of translation
* po/POTFILES.in:
fix up this file, even though none of them are actually marked
for build yet.
2006-01-20 14:18:20 +00:00
Martin Soto
b34e7d995b gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse): gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset) (gst_mpeg_...
Original commit message from CVS:
2006-01-19  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.h (struct _GstMPEGParse):
* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_reset)
(gst_mpeg_parse_process_event, gst_mpeg_parse_parse_packhead)
(gst_mpeg_parse_change_state):
Make timestamp adjustment somewhat milder. Actual timestamps are
now sent unmodified unless an actual gap is found in the
stream. This should fix time display when playing most MPEG
files.
2006-01-19 21:32:05 +00:00
Tim-Philipp Müller
82e24850a2 ext/cdio/: Fix build for libcdio versions >= 76; give slightly lower rank than cdparanoia.
Original commit message from CVS:
* ext/cdio/gstcdio.c: (gst_cdio_add_cdtext_field), (plugin_init):
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c: (gst_cdio_cdda_src_get_cdtext):
Fix build for libcdio versions >= 76; give slightly lower rank
than cdparanoia.
2006-01-19 00:10:51 +00:00
Tim-Philipp Müller
16333549fd Port libcdio cdda source, formerly known as cddasrc, now known as cdiocddasrc (fixes #323327). Should also read CD-TE...
Original commit message from CVS:
* configure.ac:
* ext/Makefile.am:
* ext/cdio/Makefile.am:
* ext/cdio/gstcdio.c:
* ext/cdio/gstcdio.h:
* ext/cdio/gstcdiocddasrc.c:
* ext/cdio/gstcdiocddasrc.h:
Port libcdio cdda source, formerly known as cddasrc, now known as
cdiocddasrc (fixes #323327). Should also read CD-TEXT if available,
but that's not tested (fixes #317658).
2006-01-18 19:30:36 +00:00
Edward Hervey
33a5dff9bb gst/mpegstream/gstmpegdemux.c: tss tss... always set caps on outgoing buffer.
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer):
tss tss... always set caps on outgoing buffer.
2006-01-18 09:30:00 +00:00
Christian Schaller
c47fe577c9 update spec file
Original commit message from CVS:
update spec file
2006-01-17 14:16:52 +00:00
Thomas Vander Stichele
9715945ef3 back to HEAD
Original commit message from CVS:
back to HEAD
2006-01-13 19:30:31 +00:00
Thomas Vander Stichele
ee93779012 releasing 0.10.1
Original commit message from CVS:
releasing 0.10.1
2006-01-13 19:25:42 +00:00
Thomas Vander Stichele
a75ebe24c8 prerelease
Original commit message from CVS:
prerelease
2006-01-11 11:44:02 +00:00
Tim-Philipp Müller
9828b301eb Pass unhandled queries upstream (useful e.g. for SEEKING query)
Original commit message from CVS:
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_query):
* ext/mad/gstid3tag.c: (gst_id3_tag_src_query):
* ext/mad/gstmad.c: (gst_mad_src_query):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_src_query):
* ext/sidplay/gstsiddec.cc:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_handle_src_query):
* gst/realmedia/rmdemux.c: (gst_rmdemux_src_query):
Pass unhandled queries upstream (useful e.g. for SEEKING query)
(fixes #325652; based on patch by: Philippe); make rmdemux return
FALSE for position queries, instead of setting -1 as value and
returning TRUE.
2006-01-10 11:43:37 +00:00
Martin Soto
216917d0b1 gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
Original commit message from CVS:
2006-01-05  Martin Soto  <martinsoto@users.sourceforge.net>

* gst/mpegstream/gstmpegparse.c (gst_mpeg_parse_adjust_ts)
(gst_mpeg_parse_process_event, gst_mpeg_parse_pad_added): Don't
rewrite timestamps in the case segments are being set from
upstream, but use timestamps unmodified. Also send proper position
values. This allows for correct time display and makes queries
work in sink elements.

* gst/mpegstream/gstdvddemux.h:
* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_init)
(gst_dvd_demux_handle_dvd_event, gst_dvd_demux_send_subbuffer):
Rename flush_filter to segment_filter, which is better represents
what the arreibute does.

* gst/mpegstream/gstdvddemux.c (gst_dvd_demux_process_event):
Activate segment filtering when a timestamp discontinuity is seen.
2006-01-05 21:36:49 +00:00
Tim-Philipp Müller
b528f778d0 ext/mad/gstmad.c: Don't forget that we need to send out a newsegment event after a restart even if we don't have enou...
Original commit message from CVS:
* ext/mad/gstmad.c: (gst_mad_chain):
Don't forget that we need to send out a newsegment event after a
restart even if we don't have enough data to decode a frame right
now.
2006-01-04 15:17:15 +00:00