summaryrefslogtreecommitdiffstats
path: root/ext/mplex/gstmplex.cc
AgeCommit message (Collapse)AuthorFilesLines
2008-03-21configure.ac: Check if the compiler supports do { } while (0) macros. This ↵Sebastian Dröge1-0/+2
fixes a warning when compiling with g++ 4.... Original commit message from CVS: * configure.ac: Check if the compiler supports do { } while (0) macros. This fixes a warning when compiling with g++ 4.3, resulting in a build failure because of -Werror. * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mplex/gstmplex.cc: Include <string.h> for memcpy and friends to fix the build with gcc 4.3. * tests/check/Makefile.am: Remove trailing backslash.
2008-03-05Port mplex element to 0.10. Fixes bug #520329.Mark Nauwelaerts1-173/+608
Original commit message from CVS: Patch by: Mark Nauwelaerts <manauw at skynet dot be> * configure.ac: * ext/Makefile.am: * ext/mplex/Makefile.am: * ext/mplex/gstmplex.cc: * ext/mplex/gstmplex.hh: * ext/mplex/gstmplexibitstream.cc: * ext/mplex/gstmplexibitstream.hh: * ext/mplex/gstmplexjob.cc: * ext/mplex/gstmplexjob.hh: * ext/mplex/gstmplexoutputstream.cc: * ext/mplex/gstmplexoutputstream.hh: Port mplex element to 0.10. Fixes bug #520329. * tests/check/Makefile.am: * tests/check/elements/mplex.c: (test_sink_event), (setup_src_pad), (teardown_src_pad), (setup_mplex), (cleanup_mplex), (GST_START_TEST), (mplex_suite), (main): Add unit test for the mplex element.
2005-09-05Fix up all the state change functions.Jan Schmidt1-7/+8
Original commit message from CVS: Fix up all the state change functions.
2004-03-15don't mix tabs and spacesThomas Vander Stichele1-43/+43
Original commit message from CVS: don't mix tabs and spaces
2004-03-14gst-indent c++ filesThomas Vander Stichele1-132/+100
Original commit message from CVS: gst-indent c++ files
2004-02-02change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele1-1/+1
Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
2004-01-29GST_ELEMENT_ERRORThomas Vander Stichele1-1/+1
Original commit message from CVS: GST_ELEMENT_ERROR
2004-01-20ext/mplex/: g++ doesn't like NULL in our i18n/error macros, should be either ↵Ronald S. Bultje1-1/+1
(NULL) or (""). Original commit message from CVS: 2004-01-20 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/mplex/gstmplex.cc: * ext/mplex/gstmplexibitstream.cc: g++ doesn't like NULL in our i18n/error macros, should be either (NULL) or ("").
2004-01-18use new error signal and classificationThomas Vander Stichele1-2/+2
Original commit message from CVS: use new error signal and classification
2004-01-01Remove left-over g_printRonald S. Bultje1-3/+0
Original commit message from CVS: Remove left-over g_print
2004-01-01configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of ↵Ronald S. Bultje1-467/+274
1.6.1.92, since the pkg-config file of 1.... Original commit message from CVS: 2004-01-01 Ronald Bultje <rbultje@ronald.bitfreak.net> * configure.ac: Fix configure check for mpeg2enc. We need 1.6.1.93 instead of 1.6.1.92, since the pkg-config file of 1.6.1.92 is borked and it therefore uses the wrong include paths. Too bad... Note that 1.6.1.93 is not release yet. ;). Also add a check for mplex, which is now using the lib'ified mplex from mjpegtools, too. * ext/ffmpeg/gstffmpegcodecmap.c: Add codec_tag for 3ivx/xvid. For xvid, this should fix playback issues. I don't think ffmpeg handles 3ivx correctly, so this probably won't work. But it won't hurt either. * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_connect), (gst_ffmpegdec_chain): * ext/ffmpeg/gstffmpegenc.c: (gst_ffmpegenc_connect), (gst_ffmpegenc_chain_audio): Fix memleak in audio encoding. Close codec if open fails, this calls the cleanup routines so we can re-use the context. * ext/mpeg2enc/gstmpeg2enc.cc: Fix pad template names/types, fix memory issue with getcaps(). * ext/mpeg2enc/gstmpeg2encoder.cc: * ext/mpeg2enc/gstmpeg2encoder.hh: Fix compile issue with new caps system (const thingy). * ext/mpeg2enc/gstmpeg2encpicturereader.cc: * ext/mpeg2enc/gstmpeg2encpicturereader.hh: We read a first frame right on initing, so that we have a caps when we init the output. This caps is cached in padprivate and read as first frame. * ext/mplex/Makefile.am: * ext/mplex/gstmplex.cc: * ext/mplex/gstmplex.h: * ext/mplex/gstmplex.hh: * ext/mplex/gstmplexibitstream.cc: * ext/mplex/gstmplexibitstream.hh: * ext/mplex/gstmplexjob.cc: * ext/mplex/gstmplexjob.hh: * ext/mplex/gstmplexoutputstream.cc: * ext/mplex/gstmplexoutputstream.hh: We wrap mjpegtools mplex. So I rewrote the plugin. The old plugin had issues, didn't do capsnego, supported only a subset of the mplex features and required a mplex fork in our local CVS. Plus that it worked agaist a very old mplex version. Rewriting was faster than updating it. * gst-libs/ext/Makefile.am: * gst-libs/ext/mplex/INSTRUCT: * gst-libs/ext/mplex/Makefile.am: * gst-libs/ext/mplex/README: * gst-libs/ext/mplex/TODO: * gst-libs/ext/mplex/ac3strm_in.cc: * gst-libs/ext/mplex/audiostrm.hh: * gst-libs/ext/mplex/audiostrm_out.cc: * gst-libs/ext/mplex/aunit.hh: * gst-libs/ext/mplex/bits.cc: * gst-libs/ext/mplex/bits.hh: * gst-libs/ext/mplex/buffer.cc: * gst-libs/ext/mplex/buffer.hh: * gst-libs/ext/mplex/fastintfns.h: * gst-libs/ext/mplex/format_codes.h: * gst-libs/ext/mplex/inputstrm.cc: * gst-libs/ext/mplex/inputstrm.hh: * gst-libs/ext/mplex/lpcmstrm_in.cc: * gst-libs/ext/mplex/mjpeg_logging.cc: * gst-libs/ext/mplex/mjpeg_logging.h: * gst-libs/ext/mplex/mjpeg_types.h: * gst-libs/ext/mplex/mpastrm_in.cc: * gst-libs/ext/mplex/mpegconsts.cc: * gst-libs/ext/mplex/mpegconsts.h: * gst-libs/ext/mplex/mplexconsts.hh: * gst-libs/ext/mplex/multplex.cc: * gst-libs/ext/mplex/outputstream.hh: * gst-libs/ext/mplex/padstrm.cc: * gst-libs/ext/mplex/padstrm.hh: * gst-libs/ext/mplex/stillsstream.cc: * gst-libs/ext/mplex/stillsstream.hh: * gst-libs/ext/mplex/systems.cc: * gst-libs/ext/mplex/systems.hh: * gst-libs/ext/mplex/vector.cc: * gst-libs/ext/mplex/vector.hh: * gst-libs/ext/mplex/videostrm.hh: * gst-libs/ext/mplex/videostrm_in.cc: * gst-libs/ext/mplex/videostrm_out.cc: * gst-libs/ext/mplex/yuv4mpeg.cc: * gst-libs/ext/mplex/yuv4mpeg.h: * gst-libs/ext/mplex/yuv4mpeg_intern.h: * gst-libs/ext/mplex/yuv4mpeg_ratio.cc: We don't fork mjpegtools' mplex in our CVS anymore. * gst/avi/gstavidemux.c: (gst_avi_demux_src_getcaps), (gst_avi_demux_add_stream): * gst/avi/gstavidemux.h: Add getcaps() function for proper caps nego. This makes some parts of AVI playback/reading work. * sys/ximage/ximagesink.c: (gst_ximagesink_sinkconnect): Resize window on new capsnego. This is probably wrong, but I'm still committing it because with current capsnego, the first successfull capsnego is auto-fixated, therefore rounded down to the lowest values in the caps. this results in a 16x16 XWindow that is not reized when real capsnego finishes. Dave, I see more cases of this, do you know a proper solution? * tools/gst-launch-ext.in: Fix MPEG-4 AAC (Apple iPod/iTunes) file commandline.
2003-12-22Merge CAPS branchDavid Schleef1-46/+37
Original commit message from CVS: Merge CAPS branch
2003-12-18Sorry Dave... Add mpegversion=1 to mp3 caps everywhere so that the ↵Ronald S. Bultje1-0/+1
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-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/+3
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-02mplex compiles...whatever it isIain Holmes1-24/+27
Original commit message from CVS: mplex compiles...whatever it is
2003-10-28merge TYPEFIND branch. Major changes:Benjamin Otte1-2/+2
Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - all typefind functions are in gst/typefind now - more typefind functions then before - some plugins might fail to compile now because I don't have them installed and they a) require bytestream or b) haven't had their typefind fixed. Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
2003-10-13no, we don't require bytestream anymoreBenjamin Otte1-2/+2
Original commit message from CVS: no, we don't require bytestream anymore
2003-10-08/GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo1-2/+2
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-07-22Fix warnings/errors due to missing assert declaration.David Schleef1-1/+1
Original commit message from CVS: Fix warnings/errors due to missing assert declaration.
2003-07-06New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje1-3/+3
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-01-13Corrected typo in the mime type: "unkown/unkown" -> "unknown/unknown"Jan Schmidt1-1/+1
Original commit message from CVS: Corrected typo in the mime type: "unkown/unkown" -> "unknown/unknown"
2003-01-12connect fixWim Taymans1-2/+2
Original commit message from CVS: connect fix
2003-01-10more link fixesThomas Vander Stichele1-1/+1
Original commit message from CVS: more link fixes
2003-01-10another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele1-3/+3
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
2002-11-02Lower the rank, this element should not be selected in the playerWim Taymans1-1/+1
Original commit message from CVS: Lower the rank, this element should not be selected in the player
2002-10-25Handle more stream typesWim Taymans1-17/+117
Original commit message from CVS: Handle more stream types
2002-10-25unref event, flush_fastWim Taymans1-1/+2
Original commit message from CVS: unref event, flush_fast
2002-10-25Removed dead .cc fileWim Taymans1-5/+47
Original commit message from CVS: Removed dead .cc file Added some params, act on EOS
2002-10-24First stab at porting mplexWim Taymans1-0/+464
Original commit message from CVS: First stab at porting mplex