summaryrefslogtreecommitdiffstats
path: root/gst/mpeg1videoparse/gstmp1videoparse.c
AgeCommit message (Collapse)AuthorFilesLines
2005-09-05Fix up all the state change functions.Jan Schmidt1-9/+11
Original commit message from CVS: Fix up all the state change functions.
2004-05-21first batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet1-2/+2
foreign compilers (forte) and gtk-doc Original commit message from CVS: first batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc
2004-04-20configure.ac: bump required gstreamer version to 0.8.1.1 because of ↵David Schleef1-4/+4
following changes [--ds] Original commit message from CVS: reviewed by David Schleef * configure.ac: bump required gstreamer version to 0.8.1.1 because of following changes [--ds] * gst-libs/gst/riff/riff-read.c: Include gst/gstutils.h. (gst_riff_peek_head, gst_riff_peek_list, gst_riff_read_list) (gst_riff_read_header): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/typefind/gsttypefindfunctions.c: Include gst/gstutils.h. (mp3_type_find): Use GST_READ_UINT* macros to access possibly unaligned memory. (mp3_type_find, mpeg1_parse_header, qt_type_find) (speex_type_find): Likewise * gst/tags/gstvorbistag.c: (ADVANCE): Likewise * gst/qtdemux/qtdemux.c: Include stdlib.h (needed by realloc). (QTDEMUX_GUINT32_GET, QTDEMUX_GUINT16_GET, QTDEMUX_FP32_GET) (QTDEMUX_FP16_GET, QTDEMUX_FOURCC_GET) (gst_qtdemux_loop_header, gst_qtdemux_loop_header) (qtdemux_node_dump_foreach, qtdemux_tree_get_child_by_type) (qtdemux_tree_get_sibling_by_type): Use GST_READ_UINT* macros to access possibly unaligned memory. * gst/mpegstream/gstmpegpacketize.c: (parse_generic, parse_chunk): Likewise. * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_syshead) (gst_mpeg_demux_parse_packet, gst_mpeg_demux_parse_pes): Likewise. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain): Likewise. * gst/mpeg2sub/gstmpeg2subt.c: (GST_BUFFER_DATA) (gst_mpeg2subt_chain_subtitle): Likewise. * gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq) (gst_mp1videoparse_time_code, gst_mp1videoparse_real_chain): Likewise. * gst/mpeg1sys/buffer.c: (mpeg1mux_buffer_update_audio_info): Likewise. * gst/cdxaparse/gstcdxaparse.c: (gst_bytestream_peek_bytes): Likewise. * gst/asfdemux/gstasfdemux.c: (_read_var_length, _read_uint): Likewise.
2004-04-10gst/mpeg1videoparse/gstmp1videoparse.*: Fix for some slight mis-cuts in ↵Ronald S. Bultje1-11/+28
buffer parsing, and for some potential overfl... Original commit message from CVS: * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init), (gst_mp1videoparse_real_chain), (gst_mp1videoparse_change_state): * gst/mpeg1videoparse/gstmp1videoparse.h: Fix for some slight mis-cuts in buffer parsing, and for some potential overflows or faults-causers. Adds disconts. Also fixes #139105 while we're at it.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-124/+125
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indentThomas Vander Stichele1-248/+243
Original commit message from CVS: gst-indent
2004-02-04Convert GST_DEBUG_CAPS() to GST_DEBUG():David Schleef1-1/+1
Original commit message from CVS: Convert GST_DEBUG_CAPS() to GST_DEBUG(): * gst/mpeg1videoparse/gstmp1videoparse.c: (mp1videoparse_parse_seq): * gst/realmedia/rmdemux.c: (gst_rmdemux_add_stream): * gst/videoscale/gstvideoscale.c: (gst_videoscale_getcaps): * sys/xvideo/gstxwindow.c: (_gst_xwindow_new): * sys/xvideo/xvideosink.c: (gst_xvideosink_sinkconnect), (gst_xvideosink_getcaps): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): * testsuite/gst-lint: more tests
2004-01-29gst/mpeg1videoparse/gstmp1videoparse.c: Committed wrong version last week... ↵Ronald S. Bultje1-126/+132
Grr... Didn't notice until now. Original commit message from CVS: 2004-01-29 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_real_chain): Committed wrong version last week... Grr... Didn't notice until now.
2004-01-25gst-libs/gst/riff/riff-read.c: Additional pad usability check.Ronald S. Bultje1-12/+67
Original commit message from CVS: 2004-01-25 Ronald Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-read.c: (gst_riff_read_info): Additional pad usability check. * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_init), (mp1videoparse_find_next_gop), (gst_mp1videoparse_time_code), (gst_mp1videoparse_real_chain): Fix MPEG video stream parsing. The original plugin had several issues, including not timestamping streams where the source was not timestamped (this happens with PTS values in mpeg system streams, but MPEG video is also a valid stream on its own so that needs timestamps too). We use the display time code for that for now. Also, if one incoming buffer contains multiple valid frames, we push them all on correctly now, including proper EOS handling. Lastly, several potential segfaults were fixed, and we properly sync on new sequence/gop headers to include them in next, not previous frames (since they're header for the next frame, not the previous). Also see #119206. * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_chain), (bpf_from_header): Move caps setting so we only do it after finding several valid MPEG-1 fraes sequentially, not right after the first one (which might be coincidental). * gst/typefind/gsttypefindfunctions.c: (mpeg1_sys_type_find), (mpeg_video_type_find), (mpeg_video_stream_type_find), (plugin_init): Add unsynced MPEG video stream typefinding, and change some probability values so we detect streams rightly. The idea is as follows: I can have an unsynced system stream which contains video. In the current code, I would randomly get a type for either system or video stream type found, because the probabilities are being calculated rather randomly. I now use fixed values, so we always prefer system stream if that was found (and that is how it should be). If no system stream was found, we can still identity the stream as video-only.
2004-01-02Convert elements to use gst_pad_use_explicit_caps() where appropriate.David Schleef1-5/+2
Original commit message from CVS: Convert elements to use gst_pad_use_explicit_caps() where appropriate.
2003-12-22Merge CAPS branchDavid Schleef1-32/+29
Original commit message from CVS: Merge CAPS branch
2003-12-04remove copyright field from pluginsAndy Wingo1-1/+0
Original commit message from CVS: remove copyright field from plugins
2003-11-16+ checking in plugin category changesLeif Johnson1-1/+1
Original commit message from CVS: + checking in plugin category changes
2003-11-07Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje1-0/+4
and remove duplicate config.h includes fro... Original commit message from CVS: Remove all config.h includes from header files, add it to each source file and remove duplicate config.h includes from several source files
2003-11-02Hi. I'm the reason why GstElementDetails uses a macro nowBenjamin Otte1-3/+3
Original commit message from CVS: Hi. I'm the reason why GstElementDetails uses a macro now
2003-11-02And again one moreRonald S. Bultje1-27/+31
Original commit message from CVS: And again one more
2003-10-08/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo1-4/+5
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-09-16reverting error patch before making a branch.BRANCH-ERROR-ROOTBRANCH-ERRORThomas Vander Stichele1-3/+2
Original commit message from CVS: reverting error patch before making a branch.
2003-09-15converted gst_element_error to new format in gst/ - gettext pendingBenjamin Otte1-2/+3
Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
2003-08-05Fix up small issues (fixes #119036)Ronald S. Bultje1-9/+17
Original commit message from CVS: Fix up small issues (fixes #119036)
2003-08-04Add DURATION support. It still doesn't work, see #119036 for why and on how ↵Ronald S. Bultje1-0/+1
to fix it Original commit message from CVS: Add DURATION support. It still doesn't work, see #119036 for why and on how to fix it
2003-07-06New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje1-83/+153
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-06-29compatibility fix for new GST_DEBUG stuff.Benjamin Otte1-12/+15
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-04-07Fix a bunch of endianness conversions that were done as long instead of ↵David Schleef1-3/+3
int32. Should go into 0.6.1. Original commit message from CVS: Fix a bunch of endianness conversions that were done as long instead of int32. Should go into 0.6.1.
2003-02-02Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer ↵David Schleef1-2/+2
conversion. Original commit message from CVS: Change %lld, %llu to G_G[U]INT64_FORMAT globally. Fix bad pointer->integer conversion.
2002-09-18plugins part of license field patchChristian Schaller1-0/+1
Original commit message from CVS: plugins part of license field patch
2002-07-08- use _merge instead of _appendWim Taymans1-1/+7
Original commit message from CVS: - use _merge instead of _append - fix events in modplug
2002-04-20a hack to work around intltool's brokenness a current check for mpeg2dec ↵Andy Wingo1-1/+1
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-11GstPadTemplate <-> gst_pad_template <-> GST_PAD_TEMPLATE same with *factory ↵Andy Wingo1-5/+5
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-06fixed first bunch of compiler warningsBenjamin Otte1-4/+4
Original commit message from CVS: fixed first bunch of compiler warnings
2002-03-24filter newlines out of GST_DEBUG statements to reflect new core behavior ↵Andy Wingo1-12/+12
fixes to adder's caps, again Original commit message from CVS: * filter newlines out of GST_DEBUG statements to reflect new core behavior * fixes to adder's caps, again
2002-03-20s/Gnome-Streamer/GStreamer/Andy Wingo1-1/+1
Original commit message from CVS: s/Gnome-Streamer/GStreamer/
2002-03-19removal of //-style comments don't link plugins to core libs -- the ↵Andy Wingo1-8/+8
versioning is done internally to the plugins with... Original commit message from CVS: * removal of //-style comments * don't link plugins to core libs -- the versioning is done internally to the plugins with the plugin_info struct, and symbol resolution is lazy, so we can always know if a plugin can be loaded by the plugin_info data. in theory.
2002-01-13Bring the plugins in sync with the new core capsnego system.Wim Taymans1-2/+0
Original commit message from CVS: Bring the plugins in sync with the new core capsnego system. Added some features, enhancements...
2001-12-28Fixed some pluginsWim Taymans1-4/+5
Original commit message from CVS: Fixed some plugins
2001-12-28Revived the mpeg1 video parser, probably badly broken but anyway..Wim Taymans1-0/+419
Original commit message from CVS: Revived the mpeg1 video parser, probably badly broken but anyway..