1. 15 Feb, 2005 3 commits
    • Ronald S. Bultje's avatar
      ext/ogg/gstoggdemux.c: Granpos can apparently be -1, which screws up calculations... · 79a8c065
      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...
      79a8c065
    • Jan Schmidt's avatar
      sys/: Use a mutex protected list to marshal navigation events into the stream... · ec937dfc
      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.
      ec937dfc
    • Tim-Philipp Müller's avatar
      Add query function to GstSpeed, so that the stream length and current position... · 1636a1c8
      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
      1636a1c8
  2. 13 Feb, 2005 2 commits
    • Benjamin Otte's avatar
      gst/audioconvert/gstaudioconvert.c: create channel conversion matrix when linking · c196377f
      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
      c196377f
    • Benjamin Otte's avatar
      gst/audioconvert/gstchannelmix.h: include missing header file · f9cf10c7
      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)
      f9cf10c7
  3. 12 Feb, 2005 3 commits
    • Tim-Philipp Müller's avatar
      Convert to and from YV12 (fixes #156379) · c89562b6
      Tim-Philipp Müller authored
      Original commit message from CVS:
      Convert to and from YV12 (fixes #156379)
      c89562b6
    • Julien Moutte Moutte's avatar
      sys/ximage/ximagesink.c: Protect interface methods from chain and negotiation... · 4aa7bf75
      Julien Moutte 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.
      4aa7bf75
    • Tim-Philipp Müller's avatar
      Don't send 'Hey! You gave me a NULL pointer yo naughty person' as error... · 6e2b751e
      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)
      6e2b751e
  4. 11 Feb, 2005 4 commits
    • Julien Moutte Moutte's avatar
      sys/xvimage/xvimagesink.c: Protect interface methods from chain and... · 415151af
      Julien Moutte 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.
      415151af
    • David Schleef's avatar
      ext/mpeg2dec/gstmpeg2dec.c: Change uint to unsigned int. (fixes #167128) · d30486aa
      David Schleef authored
      Original commit message from CVS:
      * ext/mpeg2dec/gstmpeg2dec.c: (crop_buffer): Change uint to
      unsigned int. (fixes #167128)
      d30486aa
    • David Schleef's avatar
      gst/librfb/Makefile.am: Testing stuff before committing is for wimps... and... · b4ad88e3
      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.
      b4ad88e3
    • David Schleef's avatar
      configure.ac: Pull in librfb from my CVS tree, because it is too small and... · e6ed8165
      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:
      e6ed8165
  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). · e1703e23
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/mplex/gstmplexibitstream.cc:
      Fix event handling (#165525).
      e1703e23
    • Ronald S. Bultje's avatar
      Add missing endianness to template (fixes #165509). · eaac5e90
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/mikmod/gstmikmod.c:
      * gst/modplug/gstmodplug.cc:
      Add missing endianness to template (fixes #165509).
      eaac5e90
    • Ronald S. Bultje's avatar
      gst/asfdemux/gstasfdemux.c: Fix wrong order of reading of optional bytes (#165290). · 76e9c7b9
      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).
      76e9c7b9
    • Ronald S. Bultje's avatar
      ext/alsa/gstalsasink.c: Implement FILLER event awareness. · 708fb6e6
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/alsa/gstalsasink.c: (gst_alsa_sink_check_event):
      Implement FILLER event awareness.
      708fb6e6
    • Ronald S. Bultje's avatar
      ext/cdparanoia/gstcdparanoia.c: Fix track calculations (#166208). · 0d04f83e
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/cdparanoia/gstcdparanoia.c: (cdparanoia_convert):
      Fix track calculations (#166208).
      0d04f83e
    • Ronald S. Bultje's avatar
      ext/libpng/: Fix byte-order, use proper fixed caps. Fixes #164197. · 6dd9f025
      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.
      6dd9f025
    • Jan Schmidt's avatar
      configure.ac: Add dvdlpcmdec · 83e3fe18
      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.
      83e3fe18
    • Ronald S. Bultje's avatar
      gst/alpha/gstalphacolor.c: Add BGRA handling (#165736). · a74a92a8
      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).
      a74a92a8
    • Ronald S. Bultje's avatar
      gst/law/: Fix caps memleaks (#166600). · 1f9ee9a4
      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).
      1f9ee9a4
    • Tim-Philipp Müller's avatar
      Include "_stdint.h" instead of <stdint.h>. Fixes build on systems that do not... · d21a971d
      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).
      d21a971d
  8. 05 Feb, 2005 3 commits
    • Ronald S. Bultje's avatar
      sys/: Clear window on PAUSED->READY instead of READY->PAUSED. Stop · 6adb32ad
      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).
      6adb32ad
    • Ronald S. Bultje's avatar
      sys/v4l/gstv4lmjpegsrc.c: Switch to list instead of range, since MJPEG-devices... · 6c57765f
      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.
      6c57765f
    • Jan Schmidt's avatar
      ext/mpeg2dec/gstmpeg2dec.*: The libmpeg2 user-allocated buffer management is... · 09bb103d
      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.
      09bb103d
  9. 04 Feb, 2005 2 commits
    • Andy Wingo Wingo's avatar
      gst/audioconvert/bufferframesconvert.c · 9c1c858d
      Andy Wingo 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.
      9c1c858d
    • Jan Schmidt's avatar
      ext/mpeg2dec/gstmpeg2dec.*: Rearrange buffer tracking and refcounting and... · 0786f478
      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.
      0786f478
  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... · 91d410ea
      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.
      91d410ea
    • Ronald S. Bultje's avatar
      sys/qcam/gstqcamsrc.c: Use GST_ELEMENT_ERROR, not g_warning, if open failed. · 4aa442fc
      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.
      4aa442fc
  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. · 88c22982
      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.
      88c22982
    • Ronald S. Bultje's avatar
      ext/raw1394/gstdv1394src.c: Reset negotiated state on PAUSED->READY. · c538f09f
      Ronald S. Bultje authored
      Original commit message from CVS:
      * ext/raw1394/gstdv1394src.c: (gst_dv1394src_change_state):
      Reset negotiated state on PAUSED->READY.
      c538f09f
    • David Schleef's avatar
      configure.ac: Put DEFAULT_AUDIOSINK in config.h and use whereever possible. (Fixes #165997) · 4785be86
      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):
      4785be86
    • Jan Schmidt's avatar
      gst/tcp/: Don't leak the hostname when shutting down. · a1a0c43c
      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.
      a1a0c43c
  12. 01 Feb, 2005 1 commit