1. 15 Feb, 2005 4 commits
    • Ronald S. Bultje's avatar
      gst/modplug/gstmodplug.cc: Add missing break causing position queries to fail. · f5827f80
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/modplug/gstmodplug.cc:
      Add missing break causing position queries to fail.
      f5827f80
    • Ronald S. Bultje's avatar
      ext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations... · 12d09ef3
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/ogg/gstoggdemux.c: (gst_ogg_pad_populate):
      Granpos can apparently be -1, which screws up calculations...
      12d09ef3
    • Jan Schmidt's avatar
      sys/: Use a mutex protected list to marshal navigation events into the stream... · eac54687
      Jan Schmidt authored
      sys/: Use a mutex protected list to marshal navigation events into the stream thread from whichever thread sends them.
      
      Original commit message from CVS:
      * sys/ximage/ximagesink.c: (gst_ximagesink_chain),
      (gst_ximagesink_send_pending_navigation),
      (gst_ximagesink_navigation_send_event), (gst_ximagesink_finalize),
      (gst_ximagesink_init):
      * sys/ximage/ximagesink.h:
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_chain),
      (gst_xvimagesink_send_pending_navigation),
      (gst_xvimagesink_navigation_send_event),
      (gst_xvimagesink_finalize), (gst_xvimagesink_init):
      * sys/xvimage/xvimagesink.h:
      Use a mutex protected list to marshal navigation
      events into the stream thread from whichever thread
      sends them.
      eac54687
    • Tim-Philipp Müller's avatar
      Add query function to GstSpeed, so that the stream length and current position... · e4c561d9
      Tim-Philipp Müller authored
      Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that c...
      
      Original commit message from CVS:
      Add query function to GstSpeed, so that the stream length and current position get adjusted when queried (note that current position queries may still be wrong if the audio sink returns values based on buffer timestamps instead of passing on the query
      e4c561d9
  2. 13 Feb, 2005 2 commits
    • Benjamin Otte's avatar
      gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking · 27520b1e
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link),
      (gst_audio_convert_channels):
      create channel conversion matrix when linking
      * gst/audioconvert/.cvsignore:
      * gst/audioconvert/Makefile.am:
      * gst/audioconvert/channelmixtest.c: (main):
      add (ugly) test that ensures stereo <=> mono conversion works
      correctly
      27520b1e
    • Benjamin Otte's avatar
      gst/audioconvert/gstchannelmix.h: include missing header file · 2c2205e5
      Benjamin Otte authored
      Original commit message from CVS:
      * gst/audioconvert/gstchannelmix.h:
      include missing header file
      * gst/audioconvert/gstchannelmix.c:
      (gst_audio_convert_fill_compatible):
      use same sign for both channels when converting to/from compatible
      channel. Previously used different signs made the signals cancel
      each other out and appear like silence. (fixes #167269)
      2c2205e5
  3. 12 Feb, 2005 3 commits
    • Tim-Philipp Müller's avatar
      Convert to and from YV12 (fixes #156379) · 1035891e
      Tim-Philipp Müller authored
      Original commit message from CVS:
      Convert to and from YV12 (fixes #156379)
      1035891e
    • Julien Moutte's avatar
      sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation... · 3d4ffeb6
      Julien Moutte authored
      sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).
      
      Original commit message from CVS:
      2005-02-12  Julien MOUTTE  <julien@moutte.net>
      
      * sys/ximage/ximagesink.c: (gst_ximagesink_xwindow_new),
      (gst_ximagesink_sink_link), (gst_ximagesink_change_state),
      (gst_ximagesink_chain), (gst_ximagesink_set_xwindow_id),
      (gst_ximagesink_expose), (gst_ximagesink_set_property),
      (gst_ximagesink_finalize), (gst_ximagesink_init): Protect interface
      methods from chain and negotiation and vice versa (Fixes #166142).
      * sys/ximage/ximagesink.h: Add stream_lock.
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_sink_link),
      (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
      (gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_expose): Check for xcontext before trying to link.
      3d4ffeb6
    • Tim-Philipp Müller's avatar
      Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error... · 593c2a8f
      Tim-Philipp Müller authored
      Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; se...
      
      Original commit message from CVS:
      Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error message when we can't open the DVD device; send something more useful instead (fixes #167117)
      593c2a8f
  4. 11 Feb, 2005 4 commits
    • Julien Moutte's avatar
      sys/xvimage/xvimagesink.c: Protect interface methods from chain and... · d9d764c0
      Julien Moutte authored
      sys/xvimage/xvimagesink.c: Protect interface methods from chain and negotiation and vice versa (Fixes #166142).
      
      Original commit message from CVS:
      2005-02-11  Julien MOUTTE  <julien@moutte.net>
      
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xvimage_put),
      (gst_xvimagesink_sink_link), (gst_xvimagesink_change_state),
      (gst_xvimagesink_chain), (gst_xvimagesink_buffer_free),
      (gst_xvimagesink_buffer_alloc), (gst_xvimagesink_set_xwindow_id),
      (gst_xvimagesink_expose), (gst_xvimagesink_set_property),
      (gst_xvimagesink_finalize), (gst_xvimagesink_init): Protect interface
      methods from chain and negotiation and vice versa (Fixes #166142).
      Fix a possible bug of images in the buffer pool being discarded because
      we are looking at the wrong geometry.
      * sys/xvimage/xvimagesink.h: Add stream_lock.
      d9d764c0
    • David Schleef's avatar
      ext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128) · b2717905
      David Schleef authored
      Original commit message from CVS:
      * ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer): Change uint to
      unsigned int. (fixes #167128)
      b2717905
    • David Schleef's avatar
      gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and... · d40b9d84
      David Schleef authored
      gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and people with fast machines.  Fix stupid mi...
      
      Original commit message from CVS:
      * gst/librfb/Makefile.am: Testing stuff before committing is
      for wimps... and people with fast machines.  Fix stupid
      mistake.
      d40b9d84
    • David Schleef's avatar
      configure.ac: Pull in librfb from my CVS tree, because it is too small and... · 01c2c892
      David Schleef authored
      configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate.  Move rfbsrc plug...
      
      Original commit message from CVS:
      * configure.ac: Pull in librfb from my CVS tree, because it is
      too small and annoying to be separate.  Move rfbsrc plugin
      to gst/.
      * ext/Makefile.am:
      * ext/librfb/Makefile.am:
      * ext/librfb/gstrfbsrc.c:
      * gst/librfb/Makefile.am:
      * gst/librfb/gstrfbsrc.c:
      * gst/librfb/rfb.c:
      * gst/librfb/rfb.h:
      * gst/librfb/rfbbuffer.c:
      * gst/librfb/rfbbuffer.h:
      * gst/librfb/rfbbytestream.c:
      * gst/librfb/rfbbytestream.h:
      * gst/librfb/rfbcontext.h:
      * gst/librfb/rfbdecoder.c:
      * gst/librfb/rfbdecoder.h:
      * gst/librfb/rfbutil.h:
      01c2c892
  5. 10 Feb, 2005 2 commits
  6. 09 Feb, 2005 4 commits
  7. 08 Feb, 2005 10 commits
    • Ronald S. Bultje's avatar
      ext/mplex/gstmplexibitstream.cc: Fix event handling (#165525). · 499a6457
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/mplex/gstmplexibitstream.cc:
      Fix event handling (#165525).
      499a6457
    • Ronald S. Bultje's avatar
      Add missing endianness to template (fixes #165509). · 8e9fce60
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/mikmod/gstmikmod.c:
      * gst/modplug/gstmodplug.cc:
      Add missing endianness to template (fixes #165509).
      8e9fce60
    • Ronald S. Bultje's avatar
      gst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290). · b3f14985
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_handle_data):
      Fix wrong order of reading of optional bytes (#165290).
      b3f14985
    • Ronald S. Bultje's avatar
      ext/alsa/gstalsasink.c: Implement FILLER event awareness. · b1699021
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
      Implement FILLER event awareness.
      b1699021
    • Ronald S. Bultje's avatar
      ext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208). · d8c9dbb8
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_convert):
      Fix track calculations (#166208).
      d8c9dbb8
    • Ronald S. Bultje's avatar
      ext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197. · 840c55eb
      Ronald S. Bultje authored
      Original commit message from CVS:
      Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
      * ext/libpng/gstpngdec.c: (gst_pngdec_init), (gst_pngdec_chain):
      * ext/libpng/gstpngenc.c:
      Fix byte-order, use proper fixed caps. Fixes #164197.
      840c55eb
    • Jan Schmidt's avatar
      configure.ac: Add dvdlpcmdec · 5ab3df28
      Jan Schmidt authored
      Original commit message from CVS:
      
      * configure.ac:
      Add dvdlpcmdec
      
      * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_reset),
      (free_all_buffers), (gst_mpeg2dec_alloc_buffer):
      Don't push buffers if the src pad isn't negotiated yet.
      
      * gst/audioconvert/gstaudioconvert.c:
      (gst_audio_convert_buffer_to_default_format),
      (gst_audio_convert_buffer_from_default_format):
      Add support for 24-bit width.
      
      * gst/dvdlpcmdec/.cvsignore:
      * gst/dvdlpcmdec/Makefile.am:
      * gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_get_type),
      (gst_dvdlpcmdec_base_init), (gst_dvdlpcmdec_class_init),
      (gst_dvdlpcm_reset), (gst_dvdlpcmdec_init), (gst_dvdlpcmdec_link),
      (gst_dvdlpcmdec_chain), (gst_dvdlpcmdec_change_state),
      (plugin_init):
      * gst/dvdlpcmdec/gstdvdlpcmdec.h:
      New decoder for rearranging DVD LPCM into our audio/x-raw-int
      format. Needs support for the channels maps if someone can find
      a DVD LPCM track with > 2 channels.
      
      * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_handle_dvd_event),
      (gst_dvd_demux_send_discont), (gst_dvd_demux_handle_discont),
      (gst_dvd_demux_get_audio_stream), (gst_dvd_demux_process_private):
      * gst/mpegstream/gstdvddemux.h:
      * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_discont),
      (gst_mpeg_demux_new_output_pad), (gst_mpeg_demux_init_stream),
      (gst_mpeg_demux_send_subbuffer), (gst_mpeg_demux_handle_src_query):
      * gst/mpegstream/gstmpegdemux.h:
      * gst/mpegstream/gstmpegparse.c: (gst_mpeg_parse_reset),
      (gst_mpeg_parse_parse_packhead), (gst_mpeg_parse_loop),
      (gst_mpeg_parse_get_rate), (gst_mpeg_parse_convert_src),
      (gst_mpeg_parse_handle_src_query),
      (gst_mpeg_parse_handle_src_event):
      Use audio/x-dvd-lpcm for LPCM output.
      Add DTS output.
      5ab3df28
    • Ronald S. Bultje's avatar
      gst/alpha/gstalphacolor.c: Add BGRA handling (#165736). · 883da03b
      Ronald S. Bultje authored
      Original commit message from CVS:
      Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
      * gst/alpha/gstalphacolor.c: (gst_alpha_color_sink_link),
      (transform_rgb), (transform_bgr), (gst_alpha_color_chain):
      Add BGRA handling (#165736).
      883da03b
    • Ronald S. Bultje's avatar
      gst/law/: Fix caps memleaks (#166600). · e23f9bb4
      Ronald S. Bultje authored
      Original commit message from CVS:
      Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
      * gst/law/alaw-decode.c: (alawdec_link):
      * gst/law/alaw-encode.c: (alawenc_link):
      * gst/law/mulaw-decode.c: (mulawdec_link):
      * gst/law/mulaw-encode.c: (mulawenc_link):
      Fix caps memleaks (#166600).
      e23f9bb4
    • Tim-Philipp Müller's avatar
      Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not... · b2a741ec
      Tim-Philipp Müller authored
      Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #1...
      
      Original commit message from CVS:
      Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not have stdint.h, like Solaris 9 (fixes #166631).
      b2a741ec
  8. 05 Feb, 2005 3 commits
    • Ronald S. Bultje's avatar
      sys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop · 3cd3a426
      Ronald S. Bultje authored
      Original commit message from CVS:
      * sys/ximage/ximagesink.c: (gst_ximagesink_change_state):
      * sys/xvimage/xvimagesink.c: (gst_xvimagesink_xwindow_clear),
      (gst_xvimagesink_change_state):
      Clear window on PAUSED->READY instead of READY->PAUSED. Stop
      Xv video (and thereby regenerate Xv colourkey) in clear() so
      that PLAY -> READY -> PLAY works (fixes #162504).
      3cd3a426
    • Ronald S. Bultje's avatar
      sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices... · 37541541
      Ronald S. Bultje authored
      sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices really just support decimations, not a...
      
      Original commit message from CVS:
      * sys/v4l/gstv4lmjpegsrc.c: (gst_v4lmjpegsrc_getcaps):
      Switch to list instead of range, since MJPEG-devices really just
      support decimations, not any size.
      37541541
    • Jan Schmidt's avatar
      ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is... · d255c234
      Jan Schmidt authored
      ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is awkward, to say the least. Hopefully thi...
      
      Original commit message from CVS:
      * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_open_decoder),
      (gst_mpeg2dec_reset), (free_all_buffers),
      (gst_mpeg2dec_alloc_buffer), (handle_sequence):
      * ext/mpeg2dec/gstmpeg2dec.h:
      The libmpeg2 user-allocated buffer management is awkward,
      to say the least. Hopefully this fixes things.
      d255c234
  9. 04 Feb, 2005 2 commits
    • Andy Wingo's avatar
      gst/audioconvert/bufferframesconvert.c · 00e24dc5
      Andy Wingo authored
      Original commit message from CVS:
      2005-02-04  Andy Wingo  <wingo@pobox.com>
      
      * gst/audioconvert/bufferframesconvert.c
      (buffer_frames_convert_fixate): New function, fixates to 256
      frames per buffer by default. (Much better than 1.)
      (buffer_frames_convert_init): Set the fixate function for both src
      and sink pad.
      (buffer_frames_convert_link): After success setting nonfixed caps,
      get the negotiated caps so we can know how many buffer-frames it
      will be. No idea how this worked at all before.
      00e24dc5
    • Jan Schmidt's avatar
      ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and... · 7f2e8875
      Jan Schmidt authored
      ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and refactor a little for readability.
      
      Original commit message from CVS:
      * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_init),
      (gst_mpeg2dec_close_decoder), (put_buffer), (check_buffer),
      (free_buffer), (free_all_buffers), (gst_mpeg2dec_alloc_buffer),
      (handle_sequence), (handle_picture):
      * ext/mpeg2dec/gstmpeg2dec.h:
      Rearrange buffer tracking and refcounting and refactor
      a little for readability.
      7f2e8875
  10. 03 Feb, 2005 2 commits
    • Jan Schmidt's avatar
      sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg... · 4a7ba446
      Jan Schmidt authored
      sys/v4l/: Add new v4ljpegsrc for handling the ov51x hacky "I'll give you jpeg inside rgb frames" driver.
      
      Original commit message from CVS:
      * sys/v4l/gstv4l.c: (plugin_init):
      * sys/v4l/gstv4ljpegsrc.c: (gst_v4ljpegsrc_get_type),
      (gst_v4ljpegsrc_base_init), (gst_v4ljpegsrc_class_init),
      (gst_v4ljpegsrc_init), (gst_v4ljpegsrc_src_link),
      (gst_v4ljpegsrc_getcaps), (gst_v4ljpegsrc_get):
      * sys/v4l/gstv4ljpegsrc.h:
      * sys/v4l/gstv4lsrc.c: (gst_v4lsrc_open), (gst_v4lsrc_src_link):
      * sys/v4l/v4l_calls.h:
      * sys/v4l/v4lsrc_calls.c: (gst_v4lsrc_palette_name),
      (gst_v4lsrc_get_fps):
      * sys/v4l/v4lsrc_calls.h:
      Add new v4ljpegsrc for handling the ov51x hacky "I'll give
      you jpeg inside rgb frames" driver.
      Don't error in the v4lsrc link function, just return
      REFUSED.
      4a7ba446
    • Ronald S. Bultje's avatar
      sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed. · 8d98df04
      Ronald S. Bultje authored
      Original commit message from CVS:
      * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_change_state),
      (gst_qcamsrc_open):
      Use GST_ELEMENT_ERROR, not g_warning, if open failed.
      8d98df04
  11. 02 Feb, 2005 4 commits
    • Ronald S. Bultje's avatar
      gst/qtdemux/qtdemux.c: Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG. · d99719d8
      Ronald S. Bultje authored
      Original commit message from CVS:
      * gst/qtdemux/qtdemux.c: (qtdemux_video_caps):
      Change caps on MJPEG-B so it doesn't interfere with MJPEG/JPEG.
      d99719d8
    • Ronald S. Bultje's avatar
      ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY. · 4bcb2bcb
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
      Reset negotiated state on PAUSED->READY.
      4bcb2bcb
    • David Schleef's avatar
      configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997) · 38253a1b
      David Schleef authored
      Original commit message from CVS:
      * configure.ac: Put DEFAULT_AUDIOSINK in config.h and use
      whereever possible.  (Fixes #165997)
      * examples/capsfilter/capsfilter1.c: (main):
      * examples/dynparams/filter.c: (create_ui):
      * examples/seeking/cdparanoia.c: (get_track_info), (main):
      * examples/seeking/chained.c: (main):
      * examples/seeking/seek.c: (make_mod_pipeline), (make_dv_pipeline),
      (make_wav_pipeline), (make_flac_pipeline), (make_sid_pipeline),
      (make_vorbis_pipeline), (make_mp3_pipeline), (make_avi_pipeline),
      (make_mpeg_pipeline), (make_mpegnt_pipeline):
      * examples/seeking/spider_seek.c: (make_spider_pipeline):
      * examples/switch/switcher.c: (main):
      * ext/dv/demo-play.c: (main):
      * ext/faad/gstfaad.c: (gst_faad_change_state):
      * ext/mad/gstmad.c: (gst_mad_chain):
      * ext/smoothwave/demo-osssrc.c: (main):
      * gst-libs/gst/gconf/gconf.c: (gst_gconf_set_string),
      (gst_gconf_render_bin_from_description),
      (gst_gconf_get_default_audio_sink),
      (gst_gconf_get_default_video_sink),
      (gst_gconf_get_default_audio_src),
      (gst_gconf_get_default_video_src),
      (gst_gconf_get_default_visualization_element):
      * gst/level/demo.c: (main):
      * gst/level/plot.c: (main):
      * gst/playback/gstplaybin.c: (gen_video_element),
      (gen_audio_element):
      * gst/playback/test.c: (gen_video_element), (gen_audio_element):
      * gst/playondemand/demo-mp3.c: (setup_pipeline):
      * gst/sine/demo-dparams.c: (main):
      * gst/spectrum/demo-osssrc.c: (main):
      * gst/speed/demo-mp3.c: (main):
      * gst/volume/demo.c: (main):
      * testsuite/embed/embed.c: (main):
      38253a1b
    • Jan Schmidt's avatar
      gst/tcp/: Don't leak the hostname when shutting down. · a3f3f4d9
      Jan Schmidt authored
      Original commit message from CVS:
      * gst/tcp/gsttcpclientsink.c: (gst_tcpclientsink_class_init),
      (gst_tcpclientsink_finalize):
      * gst/tcp/gsttcpclientsrc.c: (gst_tcpclientsrc_class_init),
      (gst_tcpclientsrc_finalize):
      * gst/tcp/gsttcpserversink.c: (gst_tcpserversink_class_init),
      (gst_tcpserversink_init), (gst_tcpserversink_finalize):
      * gst/tcp/gsttcpserversrc.c: (gst_tcpserversrc_class_init),
      (gst_tcpserversrc_init), (gst_tcpserversrc_finalize):
      Don't leak the hostname when shutting down.
      In tcpserversrc, take a copy of the default hostname.
      a3f3f4d9