Commit graph

3410 commits

Author SHA1 Message Date
Ronald S. Bultje
ae4ad01fe8 gst/avi/gstavimux.c: Fix padding...
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_write_tag):
Fix padding...
2005-01-19 20:25:26 +00:00
Ronald S. Bultje
0038fee420 gst/matroska/ebml-read.c: Allow for 0-sized buffers. Fixes length query problems in starwars.mkv from the testsuite.
Original commit message from CVS:
* gst/matroska/ebml-read.c: (gst_ebml_read_buffer):
Allow for 0-sized buffers. Fixes length query problems in
starwars.mkv from the testsuite.
2005-01-19 19:31:54 +00:00
Tim-Philipp Müller
26ae90cac1 Fix row strides for I420 (fixes #163159)
Original commit message from CVS:
Fix row strides for I420 (fixes #163159)
2005-01-19 17:09:57 +00:00
Ronald S. Bultje
23b94206ab gst/mpegstream/gstmpegparse.c: MPEG2 has a useful rate property, so we can actually use that.
Original commit message from CVS:
* gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_parse_packhead):
MPEG2 has a useful rate property, so we can actually use that.
For MPEG-1, continue using the bytes/time properties.
2005-01-19 15:06:01 +00:00
Ronald S. Bultje
1e37668bb5 gst-libs/gst/riff/riff-media.c: Add intel-h263.
Original commit message from CVS:
* gst-libs/gst/riff/riff-media.c:
(gst_riff_create_video_caps_with_data),
(gst_riff_create_video_template_caps):
Add intel-h263.
2005-01-19 12:47:20 +00:00
Ronald S. Bultje
8e7b5f16a3 ext/mad/gstmad.c: Fail if caps negotiation fails. Should fix #162184, and 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.
2005-01-19 11:01:09 +00:00
Ronald S. Bultje
1df4d5f66e gst/playback/gststreaminfo.c: Elements may already be destroyed when this function is called.
Original commit message from CVS:
* gst/playback/gststreaminfo.c: (gst_stream_info_dispose):
Elements may already be destroyed when this function is called.
2005-01-18 15:08:22 +00:00
Ronald S. Bultje
dd692c12da gst/qtdemux/qtdemux.c: More memory leak fixes (#149162).
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_loop_header), (gst_qtdemux_handle_esds):
More memory leak fixes (#149162).
2005-01-18 12:30:05 +00:00
Ronald S. Bultje
d2a7c463b5 gst/qtdemux/qtdemux.c: Fix two memleaks.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (gst_qtdemux_change_state),
(gst_qtdemux_add_stream):
Fix two memleaks.
2005-01-17 23:44:06 +00:00
Ronald S. Bultje
91be132a74 ext/faad/gstfaad.c: Argh...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Argh...
2005-01-17 23:34:45 +00:00
Ronald S. Bultje
5e75d5ce8f ext/faad/gstfaad.c: Fix off-by-one bug. Fixes warnings during playback of sincity.mp4 when fixating to six channels i...
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_srcgetcaps):
Fix off-by-one bug. Fixes warnings during playback of sincity.mp4
when fixating to six channels in Totem.
2005-01-17 23:01:43 +00:00
Tim-Philipp Müller
0ede860821 Fix compile warnings on Solaris 10 buildbot
Original commit message from CVS:
Fix compile warnings on Solaris 10 buildbot
2005-01-17 16:57:46 +00:00
Tim-Philipp Müller
da9acc762f Don't read beyond the last cell in a chapter (fixes invalid memory access)
Original commit message from CVS:
Don't read beyond the last cell in a chapter (fixes invalid memory access)
2005-01-17 16:17:26 +00:00
Tim-Philipp Müller
ae9dda81b8 Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead ...
Original commit message from CVS:
Use NULL for an empty GList instead of g_list_alloc(); fix memory leaks; s/LCPM/LPCM/; use g_strdup_printf() instead of GString (easier to bulk free later)
2005-01-17 14:46:22 +00:00
Ronald S. Bultje
27f04b405e gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix BGRA32 caps (#164209).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_pixfmt_to_caps):
Fix BGRA32 caps (#164209).
2005-01-17 14:12:08 +00:00
Ronald S. Bultje
d6f07e9e7c gst/ffmpegcolorspace/gstffmpegcodecmap.c: alpha_mask can be RGBA/ABGR. Fixes #164265.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
alpha_mask can be RGBA/ABGR. Fixes #164265.
2005-01-17 14:08:19 +00:00
Ronald S. Bultje
1211b6983e ext/mpeg2dec/gstmpeg2dec.*: Crop if decoding size is not the actual image size (#163676).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer),
(gst_mpeg2dec_alloc_buffer):
* ext/mpeg2dec/gstmpeg2dec.h:
Crop if decoding size is not the actual image size (#163676).
2005-01-17 13:54:30 +00:00
Ronald S. Bultje
3a7ce88edd gst/typefind/gsttypefindfunctions.c: Add libsndfile typefind functions (#163309).
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/typefind/gsttypefindfunctions.c: (aiff_type_find),
(svx_type_find), (sds_type_find), (ircam_type_find), (plugin_init):
Add libsndfile typefind functions (#163309).
2005-01-17 13:46:15 +00:00
Ronald S. Bultje
13834c6686 tools/gst-launch-ext-m.m: Add .aac, fix .m1v/.m2v (#163891).
Original commit message from CVS:
* tools/gst-launch-ext-m.m:
Add .aac, fix .m1v/.m2v (#163891).
2005-01-17 13:41:14 +00:00
Thomas Vander Stichele
c5c4fe1d26 ignore more
Original commit message from CVS:
ignore more
2005-01-17 12:45:48 +00:00
Ronald S. Bultje
347cdcdfeb ext/alsa/gstalsaclock.c: Sanity check, don't wait endlessly since the clock might not actually run at this point (whi...
Original commit message from CVS:
* ext/alsa/gstalsaclock.c: (gst_alsa_clock_wait):
Sanity check, don't wait endlessly since the clock might not
actually run at this point (which is a deadlock). Fixes #164069.
2005-01-17 12:45:27 +00:00
Thomas Vander Stichele
802e07ad33 ignore generated files
Original commit message from CVS:
ignore generated files
2005-01-17 12:38:17 +00:00
Ronald S. Bultje
cbbe4f5964 gst/playback/gstplaybasebin.c: Of course, only pause if group is done...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Of course, only pause if group is done...
2005-01-16 15:06:28 +00:00
Ronald S. Bultje
dfd05ab3ef gst/playback/gstplaybasebin.c: Thread safety.
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (probe_triggered):
Thread safety.
2005-01-16 14:38:40 +00:00
Jan Schmidt
11137a88a3 Don't return SUCCESS from the state change when the parent call fails
Original commit message from CVS:
Don't return SUCCESS from the state change when the parent call fails
2005-01-16 11:07:45 +00:00
Ronald S. Bultje
deedceefae gst/avi/gstavimux.c: Free events (fix memleak in #162905).
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_handle_event):
Free events (fix memleak in #162905).
2005-01-16 10:08:12 +00:00
Ronald S. Bultje
a1ccb24080 gst/ffmpegcolorspace/gstffmpegcodecmap.c: Fix for depth = 15. Fixes #161675.
Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/ffmpegcolorspace/gstffmpegcodecmap.c:
(gst_ffmpeg_caps_to_pixfmt):
Fix for depth = 15. Fixes #161675.
2005-01-15 17:58:38 +00:00
Ronald S. Bultje
5a7c2ff712 sys/v4l/gstv4lsrc.c: Set FPS correctly, even for webcams and the like.
Original commit message from CVS:
* sys/v4l/gstv4lsrc.c: (gst_v4lsrc_getcaps):
Set FPS correctly, even for webcams and the like.
* sys/v4l/v4l_calls.c: (gst_v4l_set_chan_norm):
Don error on setting while capturing.
2005-01-14 22:39:37 +00:00
Stéphane Loeuillet
9df714d4ca I'm a bad boy. using /1001. to force C to do float division and not integer division (as it did in my last commit)
Original commit message from CVS:
* ext/dv/gstdvdec.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
I'm a bad boy. using /1001. to force C to do float division
and not integer division (as it did in my last commit)
Thanks to David I. Lehn for pointing this mistake.
2005-01-14 18:36:42 +00:00
Ronald S. Bultje
74a701993e sys/v4l/gstv4lelement.c: Revert Johan´s 1.35->1.36 since it breaks compat.
Original commit message from CVS:
* sys/v4l/gstv4lelement.c: (gst_v4l_iface_supported):
Revert Johan´s 1.35->1.36 since it breaks compat.
2005-01-14 18:12:24 +00:00
Stéphane Loeuillet
a6f75b9e14 replace framerate aproximations by their real value (24000/1001, 30000/1001, 60000/1001)
Original commit message from CVS:
* ext/dv/gstdvdec.c:
* ext/libfame/gstlibfame.c:
* gst/subparse/gstsubparse.c: (parse_mdvdsub):
* gst/y4m/gsty4mencode.c: (gst_y4mencode_sinkconnect):
replace framerate aproximations by their real value
(24000/1001, 30000/1001, 60000/1001)
Finish fixing bug #164049
2005-01-14 12:27:22 +00:00
Thomas Vander Stichele
66962aae37 ext/ogg/gstoggmux.c: eos/bos debugging
Original commit message from CVS:

* ext/ogg/gstoggmux.c:
eos/bos debugging
* gst/tcp/gstmultifdsink.c:
* gst/tcp/gstmultifdsink.h:
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcp.h:
* gst/tcp/gsttcpclientsink.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpserversink.c:
* gst/tcp/gsttcpserversrc.c:
improve reusability of elements after state changes and errors
make multifdsink throw away streamheaders when receiving new ones
2005-01-13 17:13:51 +00:00
Thomas Vander Stichele
f612df4dfc nego if not done yet
Original commit message from CVS:
nego if not done yet
2005-01-13 17:10:22 +00:00
Ronald S. Bultje
af9b02817f ext/alsa/gstalsa.c: Fix for if items are already in list...
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix for if items are already in list...
2005-01-13 11:46:19 +00:00
Benjamin Otte
f2bbca6587 gst/adder/gstadder.c: fix adder a bit so it doesn't screw up with events as much anymore
Original commit message from CVS:
* gst/adder/gstadder.c: (gst_adder_loop):
fix adder a bit so it doesn't screw up with events as much anymore
2005-01-12 18:30:39 +00:00
Jan Schmidt
b707fb9176 ext/gdk_pixbuf/pixbufscale.*: to ensure rowstrides are calculated the same way as ffmpegcolorspace.
Original commit message from CVS:
* ext/gdk_pixbuf/pixbufscale.c: (gst_pixbufscale_link),
(pixbufscale_scale), (gst_pixbufscale_chain):
* ext/gdk_pixbuf/pixbufscale.h:
Incorporate changes from Tim-Philipp Mueller <t.i.m@orange.net>
to ensure rowstrides are calculated the same way as
ffmpegcolorspace.
Use gst_buffer_stamp instead of copying timestamps manually, so
that we pick up duration and offset also.
2005-01-12 05:53:46 +00:00
Ronald S. Bultje
f0186a5ba2 gst/avi/gstavimux.c: Reusability fixes.
Original commit message from CVS:
* gst/avi/gstavimux.c: (gst_avimux_class_init),
(gst_avimux_pad_unlink), (gst_avimux_release_pad):
Reusability fixes.
2005-01-11 16:52:47 +00:00
Ronald S. Bultje
cc42b08e67 ext/alsa/gstalsamixer.c: Update flags when requested.
Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_update),
(gst_alsa_mixer_get_volume), (gst_alsa_mixer_set_volume),
(gst_alsa_mixer_set_mute), (gst_alsa_mixer_set_record),
(gst_alsa_mixer_set_option), (gst_alsa_mixer_get_option):
Update flags when requested.
2005-01-11 15:11:26 +00:00
Ronald S. Bultje
dc9ff9e5c3 ext/alsa/gstalsa.c: Fix dmix.
Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_rates_probe):
Fix dmix.
2005-01-11 12:36:22 +00:00
Ronald S. Bultje
b92916a2bf gst/playback/: Implement group-switch signal for use in apps to clear metadata cache, clean up subtitle, add suburi p...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_class_init),
(gst_play_base_bin_init), (gst_play_base_bin_dispose),
(probe_triggered), (new_decoded_pad), (gen_source_element),
(gst_play_base_bin_set_property), (gst_play_base_bin_get_property):
* gst/playback/gstplaybasebin.h:
* gst/playback/gstplaybin.c: (gst_play_bin_class_init),
(gst_play_bin_init), (group_switch), (remove_sinks), (setup_sinks),
(gst_play_bin_change_state):
Implement group-switch signal for use in apps to clear metadata
cache, clean up subtitle, add suburi property instead of # hack,
some error-out fixes.
2005-01-11 12:03:24 +00:00
Ronald S. Bultje
e63860b014 ext/vorbis/vorbisdec.c: Debug.
Original commit message from CVS:
* ext/vorbis/vorbisdec.c: (vorbis_dec_chain):
Debug.
* sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_grab_frame):
If we got a state change in the _get handler, don't return success.
2005-01-11 00:26:13 +00:00
Stéphane Loeuillet
2af93c12fa ext/jpeg/gstjpegdec.c: Make jpegdec quiet on MJPEG decoding
Original commit message from CVS:
* ext/jpeg/gstjpegdec.c: (gst_jpegdec_my_output_message),
(gst_jpegdec_my_emit_message), (gst_jpegdec_init):
Make jpegdec quiet on MJPEG decoding
* gst/asfdemux/README:
Fix mimetypes for MJPEG and H263
2005-01-10 22:00:15 +00:00
Ronald S. Bultje
8a234abada ext/theora/theoradec.c: Fix broken code generation by gcc by swapping arguments.
Original commit message from CVS:
* ext/theora/theoradec.c: (theora_dec_chain):
Fix broken code generation by gcc by swapping arguments.
* ext/vorbis/vorbisdec.c: (vorbis_dec_src_query):
Fix \n in debug.
2005-01-10 18:45:53 +00:00
Stéphane Loeuillet
83f029cb26 oops, forgot to commit changelog
Original commit message from CVS:
oops, forgot to commit changelog
2005-01-10 17:09:01 +00:00
Stéphane Loeuillet
dbebd65ced TODO: delete this file, it is by far outdated
Original commit message from CVS:
* TODO:
delete this file, it is by far outdated
* ext/alsa/gstalsa.1: remove
* ext/alsa/gstalsa.c: (add_rates), (add_channels), (gst_alsa_caps),
(gst_alsa_check_sample_rates), (gst_alsa_rates_probe),
(gst_alsa_get_caps):
Add HW probing for supported sample rates. Fixes #161704
2005-01-10 17:01:37 +00:00
Ronald S. Bultje
f7b012fa2f gst/audioscale/gstaudioscale.c: Don't crash, biatch! :).
Original commit message from CVS:
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash, biatch! :).
2005-01-10 16:51:45 +00:00
Ronald S. Bultje
98a2f3f54b Some work on tags - still doesn't work in playbin...
Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
* gst/apetag/apedemux.c: (gst_ape_demux_stream_data):
Some work on tags - still doesn't work in playbin...
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Handle events...
2005-01-10 16:42:27 +00:00
Ronald S. Bultje
ae414e8ab4 gst/qtdemux/qtdemux.c: Also shove tags on kid pads.
Original commit message from CVS:
* gst/qtdemux/qtdemux.c: (qtdemux_parse_tree):
Also shove tags on kid pads.
2005-01-10 16:24:14 +00:00
Ronald S. Bultje
a321095c80 gst-libs/gst/riff/riff-read.c: Don't bail on unknown events.
Original commit message from CVS:
* gst-libs/gst/riff/riff-read.c: (gst_riff_read_use_event):
Don't bail on unknown events.
* gst/audioscale/gstaudioscale.c: (gst_audioscale_chain):
Don't crash on events before negotiation.
* gst/avi/gstavidemux.c: (gst_avi_demux_add_stream):
Send tags on pads, too.
* gst/playback/gststreamselector.c:
(gst_stream_selector_request_new_pad):
Forward events on first pad if no input was selected yet.
2005-01-10 16:09:25 +00:00
Ronald S. Bultje
6c73f3f7a7 gst/playback/gstplaybasebin.c: Don't disable streamtype if the stream doesn't exist, since then playing a video after...
Original commit message from CVS:
* gst/playback/gstplaybasebin.c: (setup_substreams):
Don't disable streamtype if the stream doesn't exist, since
then playing a video after audio will disable both and nothing
will happen. Fixes the testsuite.
2005-01-10 13:15:11 +00:00