Commit graph

57 commits

Author SHA1 Message Date
Benjamin Otte
a6b45475b2 gst/mpegstream/: get rid of non-standard "..." ranges in case statements.
Original commit message from CVS:
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_process_private):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
get rid of non-standard "..." ranges in case statements.
2004-03-28 01:44:31 +00:00
Martin Soto
40b740126e gst/mpegstream/gstmpegdemux.*: Complete overhaul. All DVD specific functionality split to the new dvddemux element.
Original commit message from CVS:
* gst/mpegstream/gstmpegdemux.c:
* gst/mpegstream/gstmpegdemux.h: Complete overhaul. All DVD
specific functionality split to the new dvddemux element.
* gst/mpegstream/gstdvddemux.c:
* gst/mpegstream/gstdvddemux.h: New demultiplexer for DVD (VOB)
streams, derived from mpegdemux.
* gst/mpegstream/gstmpegparse.c: Discontinuity handling cleaned
up. SCR based timestamp rewriting can be turned off (will probably
completely disappear soon).
* ext/dvdnav/dvdnavsrc.c: Changes resulting from a few months
hacking. General cleanup. All printf statements replaced by
debugging messages. Almost complete libdvdnav support.
(dvdnavsrc_class_init): Got rid of unnecessary signals (replaced
by events. New properties for audio and subpicture languages.
(dvdnavsrc_update_highlight): Now uses events.
(dvdnavsrc_user_op): Cleaned up.
(dvdnavsrc_get): Renamed to dvdnavsrc_loop (element is now loop
based). Lots of cleanup, and propper support for most libdvdnav
events.
(dvdnavsrc_make_dvd_event): New function.
(dvdnavsrc_make_dvd_nav_packet_event): New function.
(dvdnavsrc_make_clut_change_event): New function.
2004-03-27 22:45:41 +00:00
Thomas Vander Stichele
9ac53e9a2a don't mix tabs and spaces
Original commit message from CVS:
don't mix tabs and spaces
2004-03-15 19:32:25 +00:00
Thomas Vander Stichele
908defa2c4 gst-indent
Original commit message from CVS:
gst-indent
2004-03-14 22:34:30 +00:00
Johan Dahlin
460a1f29be Spelling fixes
Original commit message from CVS:
Spelling fixes
2004-02-16 16:54:38 +00:00
David Schleef
553682e7f7 Make sure set_explicit_caps() is called before adding pad.
Original commit message from CVS:
Make sure set_explicit_caps() is called before adding pad.
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
* gst/id3/gstid3types.c: (gst_id3types_loop):
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
* gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream):
2004-02-04 21:40:49 +00:00
Ronald S. Bultje
921e025160 gst/mpegstream/gstmpegdemux.c: Fix audio.
Original commit message from CVS:
2004-01-30  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Fix audio.
2004-01-30 14:39:37 +00:00
Jan Schmidt
afa4e0fc85 ext/dv/gstdvdec.c: Fix caps negotiation.
Original commit message from CVS:
* ext/dv/gstdvdec.c: (gst_dvdec_loop):
Fix caps negotiation.

* ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init),
(dvdnavsrc_update_buttoninfo), (dvdnavsrc_get),
(dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event),
(dvdnavsrc_event):
* ext/mpeg2dec/gstmpeg2dec.c:
* gst-libs/gst/navigation/navigation.c:
(gst_navigation_send_key_event), (gst_navigation_send_mouse_event):
* gst-libs/gst/navigation/navigation.h:
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event):
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents):
* sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents):
Super-simple first version of mouse and keyboard events. Clicking
on a DVD menu now works, although it may not take you where you
expected.

* gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate):
* gst/videotestsrc/gstvideotestsrc.c:
(gst_videotestsrc_src_fixate):
These fixate functions were broken - they never actually
fixated :)
2004-01-06 16:42:10 +00:00
Ronald S. Bultje
b0dc93730c gst/mpegstream/gstmpegdemux.c: Add pad to element *after* setting functions such as event handler.
Original commit message from CVS:
2004-01-05  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead):
Add pad to element *after* setting functions such as event handler.
Without this, the scheduler (opt) will link pads, set the event
handler from the default event function (dispatcher in gstpad.c)
and *after* that, we will set our own event function, which will
thus never be used (and thus mpegdemux doesn't handle events).
2004-01-05 11:17:23 +00:00
Ronald S. Bultje
9717e2b847 gst/mpegstream/: Fix more integer overflows. Again, see #126967.
Original commit message from CVS:
2004-01-04  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead),
(gst_mpeg_demux_parse_packet), (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
Fix more integer overflows. Again, see #126967.
2004-01-03 23:07:19 +00:00
Ronald S. Bultje
cc5aa11ece gst/mpegstream/: and also fix integer overflows at high PTS values (see #126967).
Original commit message from CVS:
2004-01-03  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_class_init),
(gst_mpeg_parse_init):
* gst/mpegstream/gstmpegparse.h:
Remove clock (which was never provided, i.e. dead code), and
also fix integer overflows at high PTS values (see #126967).
2004-01-03 13:06:10 +00:00
David Schleef
763b096ef2 Convert elements to use gst_pad_use_explicit_caps() where appropriate.
Original commit message from CVS:
Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2004-01-02 07:09:23 +00:00
David Schleef
200089a2ba Merge CAPS branch
Original commit message from CVS:
Merge CAPS branch
2003-12-22 01:47:08 +00:00
Ronald S. Bultje
ead7233a5e configure.ac: Improve mpeg2enc detection. This is for distributions that do ship mjpegtools, but without mpeg2enc. Al...
Original commit message from CVS:
2003-12-21  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* configure.ac:
Improve mpeg2enc detection. This is for distributions that do
ship mjpegtools, but without mpeg2enc. Also does object check
for might there ever be ABI incompatibility.
* ext/mpeg2enc/gstmpeg2enc.cc:
Add Andrew as second maintainer (he's helping me), and also add
an error if no caps was set. This happens if I pull before capsnego
and that's something I should solve sometime else.
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup):
Fix time parsing.
* gst/matroska/matroska-mux.c: (gst_matroska_mux_audio_pad_link),
(gst_matroska_mux_track_header):
Add caps to templates.
* gst/mpegaudioparse/gstmpegaudioparse.c: (mp3_sink_factory):
Add mpegversion=1 to prevent confusion with MPEG/AAC.
* gst/mpegstream/gstmpegdemux.c:
Remove layer since it causes warnings about unfixed caps.
* gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_get):
Fix obvious typo (we error out if caps were set, we should of
course error out if *no* caps were set).
* sys/oss/gstosselement.c: (gst_osselement_convert):
Fix format conversion, we confused bits/bytes.
* sys/oss/gstosselement.h:
Improve documentation for 'bps'.
* sys/v4l/TODO:
Remove stuff about plugins that need removing - this was done
ages ago.
* sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_init),
(gst_v4lmjpegsrc_src_convert), (gst_v4lmjpegsrc_src_query):
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_init), (gst_v4lsrc_src_convert),
(gst_v4lsrc_src_query):
* sys/v4l2/gstv4l2src.c: (gst_v4l2src_init),
(gst_v4l2src_src_convert), (gst_v4l2src_src_query):
Add get_query_types(), get_formats() and query() functions.
2003-12-21 18:44:33 +00:00
Ronald S. Bultje
0dd9705d85 Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding...
Original commit message from CVS:
Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the autoplugger uses mad and not faad for mp3 decoding. This should fix mp3 playback.
2003-12-18 09:31:50 +00:00
Ronald S. Bultje
d71c0d2065 MPEG system streams work too, now
Original commit message from CVS:
MPEG system streams work too, now
2003-11-02 21:22:09 +00:00
Andy Wingo
6300f2611c /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
Original commit message from CVS:
/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to deal with that. Fixes #113488.
2003-10-08 16:08:10 +00:00
Ronald S. Bultje
0ea59b7a7b New typefind system: bytestream is now part of the core all plugins have been modified to use this new typefind syste...
Original commit message from CVS:
New typefind system:
* bytestream is now part of the core
* all plugins have been modified to use this new typefind system
* asf typefinding added
* mpeg video stream typefiding removed because it's broken
* duplicate typefind entries removed
* extra id3 typefinding added, because we've seen 4 types of files
(riff/wav, flac, vorbis, mp3) with id3 headers and each of these needs
to work. Instead, I've added an id3 element and let it redo typefiding
after the id3 header. this needs a hack because spider only typefinds
once. We can remove this hack once spider supports multiple typefinds.
* with all this, mp3 typefinding is semi-rewritten
* id3 typefinding in flac/vorbis is removed, it's no longer needed
* fixed spider and gst-typefind to use this, too.
* Other general cleanups
2003-10-01 13:14:51 +00:00
Jan Schmidt
9ce42abf61 Make sure caps are fixed when creating a new video pad
Original commit message from CVS:
Make sure caps are fixed when creating a new video pad
2003-07-28 14:56:01 +00:00
Jan Schmidt
e4da6de082 Merged the 2 video_%02d pad templates, since no plugin should have 2 pad templates with the same name.
Original commit message from CVS:
Merged the 2 video_%02d pad templates, since no plugin should have 2 pad
templates with the same name.

Added caps for the subtitle pad as a quickfix to stop it calling
try_set_caps with NULL caps
2003-07-28 13:24:16 +00:00
Ronald S. Bultje
cbaec5cb87 Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), a...
Original commit message from CVS:
Mplex apparently creates a private stream with padding 0x00 bytes... This normally triggers gst_pad_try_set_caps(), and since our template is NULL, the argument is NULL too, which is invalid... So here's a quickfix
2003-07-26 10:13:30 +00:00
Joshua N. Pritikin
6dc7c1b621 Provide valuable diagnostics for seek events control by the GST_SEEK debug category.
Original commit message from CVS:
Provide valuable diagnostics for seek events control by the GST_SEEK
debug category.
2003-07-25 02:04:01 +00:00
Ronald S. Bultje
ed2362149a New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS:
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
2003-07-06 20:49:50 +00:00
Benjamin Otte
b4786e830b compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS:
compatibility fix for new GST_DEBUG stuff.
Includes fixes for missing includes for config.h and unistd.h

I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
2003-06-29 19:46:09 +00:00
Wim Taymans
1ac9874937 - update OFFSET field
Original commit message from CVS:
- update OFFSET field
- flush unkown codes
- small cleanups
2003-05-24 10:17:50 +00:00
Benjamin Otte
ce19421a31 case ranges is a gcc extension, removing them
Original commit message from CVS:
case ranges is a gcc extension, removing them
2003-05-22 10:41:49 +00:00
Ronald S. Bultje
ab8278b082 I'm too lazy to comment this
Original commit message from CVS:
Lots of LPCM support work from Martin. This fixes the mimetype being set and interprets sound stream properties better so it's just iedntified as audio/raw. Thanks go to Martin Soto <soto@informatik.uni-kl.de> - see #106875 for more info
2003-05-14 21:54:41 +00:00
Christian Schaller
f573818eb0 merge patch from bug 106875 created by Martin Soto
Original commit message from CVS:
merge patch from bug 106875 created by Martin Soto
2003-03-02 09:48:48 +00:00
Wim Taymans
479004ceec Fix refcounting on caps.
Original commit message from CVS:
Fix refcounting on caps.
2003-02-02 20:05:59 +00:00
David Schleef
b689cac7f8 Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
Original commit message from CVS:
Change %lld, %llu to G_G[U]INT64_FORMAT globally.  Fix bad pointer->integer
conversion.
2003-02-02 05:26:29 +00:00
Thomas Vander Stichele
1669173743 another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t...
Original commit message from CVS:
another batch of connect->link fixes
please let me know about issues
and please refrain of making them yourself, so that I don't spend double
the time resolving conflicts
2003-01-10 10:22:24 +00:00
Wim Taymans
0e18b6abbc prefer seeking on time
Original commit message from CVS:
prefer seeking on time
2002-12-27 22:43:28 +00:00
Wim Taymans
72f3cbcb7b Improved seeking and indexing
Original commit message from CVS:
Improved seeking and indexing
2002-12-26 22:45:10 +00:00
Wim Taymans
90936c1ebc cache->index
Original commit message from CVS:
cache->index
2002-12-12 22:17:10 +00:00
Iain Holmes
ac04104547 Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
Original commit message from CVS:
Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
2002-12-08 17:20:44 +00:00
Wim Taymans
a82c0aa533 Fix mpegdemux, implement caching
Original commit message from CVS:
Fix mpegdemux, implement caching
2002-11-27 21:00:12 +00:00
Wim Taymans
ebc290ac1d - cleanups
Original commit message from CVS:
- cleanups
- detect and correct SCR discontinuities, also correct PTSes
2002-11-04 23:16:45 +00:00
Wim Taymans
29471dd7c7 Write some more debugging entries in the log
Original commit message from CVS:
Write some more debugging entries in the log
2002-11-02 13:40:30 +00:00
Christian Schaller
64789849a6 plugins part of license field patch
Original commit message from CVS:
plugins part of license field patch
2002-09-18 19:02:46 +00:00
Thomas Vander Stichele
5d94ef6f62 removing warnings (approved by wtay)
Original commit message from CVS:
removing warnings (approved by wtay)
2002-09-09 23:24:29 +00:00
Wim Taymans
4e9426038d - query/eventmask/formats functions
Original commit message from CVS:
- query/eventmask/formats functions
2002-07-24 21:43:44 +00:00
Thomas Vander Stichele
54fb0d72f0 prettier output
Original commit message from CVS:
prettier output
2002-06-05 21:41:19 +00:00
Steve Baker
8d6dc6a67e add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any...
Original commit message from CVS:
add ranks only for plugins who participate in autoplugging.  If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element.
2002-05-31 08:24:31 +00:00
Wim Taymans
ccc2d53203 Disable SCR interpollation, it seems wrog add timestamps to private streams
Original commit message from CVS:
Disable SCR interpollation, it seems wrog
add timestamps to private streams
2002-05-27 22:38:23 +00:00
Wim Taymans
b0c33553d3 - Changed plugins for new APIs
Original commit message from CVS:
- Changed plugins for new APIs
- modularized audiofile.
- added seeking, query and convert functions for mad, mpeg2dec,
avidemux, mpegdemux, mpegparse
- sync updates to oss. removed the ossclock for now
2002-05-26 21:59:22 +00:00
Andy Wingo
06989d4c52 a hack to work around intltool's brokenness a current check for mpeg2dec details->klass reorganizations an element br...
Original commit message from CVS:
* a hack to work around intltool's brokenness
* a current check for mpeg2dec
* details->klass reorganizations
* an element browser that uses details->klass
* separated cdxa parse out from the avi directory
2002-04-20 21:42:51 +00:00
Thomas Vander Stichele
58896333c7 more mergeback from the latest release
Original commit message from CVS:
more mergeback from the latest release
2002-04-15 09:27:02 +00:00
Wim Taymans
78c3873c67 Rename the padtemplate name for private streams
Original commit message from CVS:
Rename the padtemplate name for private streams
2002-04-14 13:40:01 +00:00
Wim Taymans
8e81987438 Changed the padtemplate nametemplates to something parsable.
Original commit message from CVS:
Changed the padtemplate nametemplates to something parsable.
2002-04-13 17:38:40 +00:00
Andy Wingo
1f45cc0b2b GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory and typefind.
Original commit message from CVS:
GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE

same with *factory and typefind.

also, some -Werror fixes.
2002-04-11 20:42:25 +00:00