summaryrefslogtreecommitdiffstats
path: root/gst/avi/gstavimux.c
Commit message (Collapse)AuthorAgeFilesLines
* ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and ↵Ronald S. Bultje2005-01-191-299/+242
| | | | | | | | | | | | | | | | | | | should definately be in there regardless of... Original commit message from CVS: * ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain): Fail if caps negotiation fails. Should fix #162184, and should definately be in there regardless of it fixing the actual bug. * gst/avi/gstavimux.c: (gst_avimux_get_type), (gst_avimux_init), (gst_avimux_write_tag), (gst_avimux_riff_get_avi_header), (gst_avimux_riff_get_avix_header), (gst_avimux_riff_get_video_header), (gst_avimux_riff_get_audio_header), (gst_avimux_write_index), (gst_avimux_start_file), (gst_avimux_handle_event), (gst_avimux_change_state): * gst/avi/gstavimux.h: Refactor structure writing to use GST_WRITE_UINT macros, add metadata writing support.
* gst/avi/gstavimux.c: Free events (fix memleak in #162905).Ronald S. Bultje2005-01-161-0/+2
| | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avimux_handle_event): Free events (fix memleak in #162905).
* gst/avi/gstavimux.c: Reusability fixes.Ronald S. Bultje2005-01-111-2/+20
| | | | | | | Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avimux_class_init), (gst_avimux_pad_unlink), (gst_avimux_release_pad): Reusability fixes.
* forgot to add h264 to avidemux capsStéphane Loeuillet2004-12-131-0/+4
| | | | | Original commit message from CVS: forgot to add h264 to avidemux caps
* gst/avi/gstavimux.c: First calculate the rate, and only then use it. ↵Ronald S. Bultje2004-10-261-14/+14
| | | | | | | | | | | Hdr.rate is a multiple and not a derivative of h... Original commit message from CVS: * gst/avi/gstavimux.c: (gst_avimux_audsinkconnect), (gst_avimux_stop_file): First calculate the rate, and only then use it. Hdr.rate is a multiple and not a derivative of hdr.scale. Scale is not the same as blockalign but is solely related to rate.
* gst/: Framerate.Ronald S. Bultje2004-10-241-6/+16
| | | | | | | Original commit message from CVS: * gst/asfdemux/gstasfmux.c: * gst/avi/gstavimux.c: Framerate.
* first batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-1/+1
| | | | | | | | | 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
* common/m4/gst-feature.m4: Call -config scripts withDavid Schleef2004-04-131-2/+2
| | | | | | | | | | | | | | | | Original commit message from CVS: * common/m4/gst-feature.m4: Call -config scripts with --plugin-libs if it is supported. * gst/avi/gstavimux.c: (gst_avimux_vidsinkconnect): sequences of JPEG images are image/jpeg. * gst/debug/Makefile.am: * gst/debug/negotiation.c: (gst_negotiation_class_init), (gst_negotiation_getcaps), (gst_negotiation_pad_link), (gst_negotiation_update_caps), (gst_negotiation_get_property), (gst_negotiation_plugin_init): Add a property that acts like filter caps. * testsuite/gst-lint: Move license checking to be a standard test.
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-112/+113
| | | | | Original commit message from CVS: don't mix tabs and spaces
* gst-indentThomas Vander Stichele2004-03-141-602/+639
| | | | | Original commit message from CVS: gst-indent
* change NULL to (NULL) for GST_ELEMENT_ERRORThomas Vander Stichele2004-02-021-1/+1
| | | | | | Original commit message from CVS: change NULL to (NULL) for GST_ELEMENT_ERROR Make sure errors end with "."
* GST_ELEMENT_ERRORThomas Vander Stichele2004-01-291-1/+1
| | | | | Original commit message from CVS: GST_ELEMENT_ERROR
* fix i18n includeThomas Vander Stichele2004-01-191-1/+1
| | | | | Original commit message from CVS: fix i18n include
* use new error signal and classificationThomas Vander Stichele2004-01-181-1/+3
| | | | | Original commit message from CVS: use new error signal and classification
* Fix for instantiate-test (see core). Also remove dead code from jpegenc ↵Ronald S. Bultje2004-01-071-1/+0
| | | | | | | | | | | | | | | | | | | | (which still needs fixing, but that's lower o... Original commit message from CVS: 2004-01-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/audiofile/gstafsink.c: (gst_afsink_init), (gst_afsink_chain), (gst_afsink_handle_event): * ext/jpeg/gstjpegenc.c: (gst_jpegenc_init): * gst/avi/gstavimux.c: (gst_avimux_request_new_pad): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_init): Fix for instantiate-test (see core). Also remove dead code from jpegenc (which still needs fixing, but that's lower on my TODO list...). * sys/v4l2/gstv4l2src.c: (gst_v4l2src_getcaps): Never return NULL as caps.
* Merge CAPS branchDavid Schleef2003-12-221-268/+192
| | | | | Original commit message from CVS: Merge CAPS branch
* Change everyone to video/x-msvideoDavid Schleef2003-11-271-1/+1
| | | | | Original commit message from CVS: Change everyone to video/x-msvideo
* Since padtemplates are now owned by the class, we should use the class ↵Ronald S. Bultje2003-11-091-3/+6
| | | | | | | function to retrieve them for comparison Original commit message from CVS: Since padtemplates are now owned by the class, we should use the class function to retrieve them for comparison
* Remove all config.h includes from header files, add it to each source file ↵Ronald S. Bultje2003-11-071-1/+1
| | | | | | | 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
* Merge plugins. Update to new plugin init codeDavid Schleef2003-11-011-42/+23
| | | | | Original commit message from CVS: Merge plugins. Update to new plugin init code
* Remove can_seek () because eventmasks was removed from sink pads - grrrRonald S. Bultje2003-10-091-25/+10
| | | | | Original commit message from CVS: Remove can_seek () because eventmasks was removed from sink pads - grrr
* /GstBuffer/GstData/ in the API where you can pass events. Fix the plugins to ↵Andy Wingo2003-10-081-19/+19
| | | | | | | 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.
* Set keyframe flag only when it is a keyframe. This will break quite some ↵Ronald S. Bultje2003-09-301-1/+4
| | | | | | | formats because many encoders dont set this ... Original commit message from CVS: Set keyframe flag only when it is a keyframe. This will break quite some formats because many encoders dont set this flag correctly, but I'll fix that as I encounter them. divx5 works correctly now. ;).
* reverting error patch before making a branch.Thomas Vander Stichele2003-09-161-3/+1
| | | | | Original commit message from CVS: reverting error patch before making a branch.
* converted gst_element_error to new format in gst/ - gettext pendingBenjamin Otte2003-09-151-1/+3
| | | | | Original commit message from CVS: converted gst_element_error to new format in gst/ - gettext pending
* Check for seekability and use gst_pad_push() instead of gst_pad_send_event()Ronald S. Bultje2003-09-121-24/+44
| | | | | Original commit message from CVS: Check for seekability and use gst_pad_push() instead of gst_pad_send_event()
* Fix a warningRonald S. Bultje2003-07-221-2/+2
| | | | | Original commit message from CVS: Fix a warning
* improve index offset calculation, fix some minor other issues and make ↵Ronald S. Bultje2003-07-221-31/+27
| | | | | | | avimux actually work with mp3 audio Original commit message from CVS: Fix padding (2 bytes instead of 4), improve index offset calculation, fix some minor other issues and make avimux actually work with mp3 audio
* New mimetypes gone into effect today - this commit changes all old mimetypes ↵Ronald S. Bultje2003-07-061-189/+217
| | | | | | | 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
* compatibility fix for new GST_DEBUG stuff.Benjamin Otte2003-06-291-4/+7
| | | | | | | | 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.
* Actually push the event over to the next element instead of leaving it into ↵Ronald S. Bultje2003-06-071-0/+1
| | | | | | | eternity - thanks for Joshua for detecting Original commit message from CVS: Actually push the event over to the next element instead of leaving it into eternity - thanks for Joshua for detecting
* Prevent warningRonald S. Bultje2003-06-011-1/+2
| | | | | Original commit message from CVS: Prevent warning
* OopsRonald S. Bultje2003-06-011-1/+1
| | | | | Original commit message from CVS: Oops
* This fixes avimux largely. Sound playback still isn't optimal, but at least ↵Ronald S. Bultje2003-06-011-75/+65
| | | | | | | we're getting somewhere Original commit message from CVS: This fixes avimux largely. Sound playback still isn't optimal, but at least we're getting somewhere
* Fix avimux (somewhat). Note: the EOS event still doesn't get through. This ↵Ronald S. Bultje2003-05-301-9/+38
| | | | | | | is completely braindead, I have no clue wh... Original commit message from CVS: Fix avimux (somewhat). Note: the EOS event still doesn't get through. This is completely braindead, I have no clue why, but setting this thing to PAUSE should do the trick too. EOS fix will come later on...
* Hm, one more little endian fixRonald S. Bultje2003-05-141-1/+1
| | | | | Original commit message from CVS: Hm, one more little endian fix
* PCM data in AVI is always little endianRonald S. Bultje2003-05-141-3/+17
| | | | | Original commit message from CVS: PCM data in AVI is always little endian
* we do not destroy anything anymore. Not even unwanted padsBenjamin Otte2003-04-151-3/+0
| | | | | Original commit message from CVS: we do not destroy anything anymore. Not even unwanted pads
* add some extra checking on validity of pads before using themRonald S. Bultje2003-01-311-0/+4
| | | | | Original commit message from CVS: add some extra checking on validity of pads before using them
* DOH! (yes, I'm a moron)Ronald S. Bultje2003-01-281-7/+7
| | | | | Original commit message from CVS: DOH! (yes, I'm a moron)
* Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?Ronald S. Bultje2003-01-261-1/+1
| | | | | Original commit message from CVS: Someone forgot to fix this connect->link thingy - can this go into 0.6.0 please?
* PadConnect -> PadLinkThomas Vander Stichele2003-01-101-1/+1
| | | | | Original commit message from CVS: PadConnect -> PadLink
* another batch of connect->link fixes please let me know about issues and ↵Thomas Vander Stichele2003-01-101-8/+8
| | | | | | | | | | 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
* Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flacIain Holmes2002-12-081-2/+2
| | | | | Original commit message from CVS: Replace audio/mp3 with audio/x-mp3 and audio/x-flac with application/x-flac
* Add ogg/vorbis support for avi filesRonald S. Bultje2002-10-271-0/+10
| | | | | Original commit message from CVS: Add ogg/vorbis support for avi files
* avi needs 4 byte paddingRonald S. Bultje2002-10-241-7/+47
| | | | | Original commit message from CVS: avi needs 4 byte padding
* Make it loopbased and use only one video and one audio pad. framerate is ↵Ronald S. Bultje2002-10-231-139/+214
| | | | | | | also no longer a property but is requested f... Original commit message from CVS: Make it loopbased and use only one video and one audio pad. framerate is also no longer a property but is requested from the source pad
* With these changes, the generated AVI has a valid index and can thus be read ↵Ronald S. Bultje2002-09-191-11/+25
| | | | | | | by players Original commit message from CVS: With these changes, the generated AVI has a valid index and can thus be read by players
* License fixRonald S. Bultje2002-09-191-0/+1
| | | | | Original commit message from CVS: License fix
* This fixes some problems when recording AVI files with gstrecRonald S. Bultje2002-09-191-19/+71
| | | | | Original commit message from CVS: This fixes some problems when recording AVI files with gstrec