summaryrefslogtreecommitdiffstats
path: root/ext/neon/gstneonhttpsrc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-09-09ext/neon/gstneonhttpsrc.c: With libneon 2.6, we need to set the ↵Thomas Green1-0/+4
NE_SESSFLAG_ICYPROTO flag if we want ICY streams to b... Original commit message from CVS: Patch by: Thomas Green <tom78999 gmail com> * ext/neon/gstneonhttpsrc.c: With libneon 2.6, we need to set the NE_SESSFLAG_ICYPROTO flag if we want ICY streams to be handled too, otherwise libneon will error out with a 'can't parse reponse' error. Fixes #474696. * tests/check/elements/neonhttpsrc.c: Unit test for the above by Yours Truly.
2007-07-18Add stdlib include (free, atoi, exit).Stefan Kost1-0/+1
Original commit message from CVS: * examples/app/appsrc_ex.c: * examples/switch/switcher.c: * ext/neon/gstneonhttpsrc.c: * ext/timidity/gstwildmidi.c: * ext/x264/gstx264enc.c: * gst/mve/mveaudioenc.c: (mve_compress_audio): * gst/rtpmanager/gstrtpclient.c: * gst/rtpmanager/gstrtpjitterbuffer.c: * gst/spectrum/demo-audiotest.c: * gst/spectrum/demo-osssrc.c: * sys/dvb/gstdvbsrc.c: Add stdlib include (free, atoi, exit).
2007-06-01ext/neon/gstneonhttpsrc.c: Don't leak buffer when returning an error.Tim-Philipp Müller1-0/+2
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create): Don't leak buffer when returning an error.
2007-06-01ext/neon/gstneonhttpsrc.*: Deprecated "uri" property. Clean up property ↵René Stadler1-90/+89
descriptions. Original commit message from CVS: Patch by René Stadler <mail at renestadler dot de>: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_dispose), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property), (gst_neonhttp_src_start), (gst_neonhttp_src_do_seek), (gst_neonhttp_src_set_location), (gst_neonhttp_src_send_request_and_redirect), (gst_neonhttp_src_uri_get_uri), (gst_neonhttp_src_uri_set_uri): * ext/neon/gstneonhttpsrc.h: Deprecated "uri" property. Clean up property descriptions. Change default User-Agent to the slightly more descriptive "GStreamer neonhttpsrc". Various other small cleanups, mostly property related.
2007-05-31ext/libmms/gstmms.h: No reason to use gpointers instead of typed pointes ↵Tim-Philipp Müller1-2/+1
here as far as I can see. Original commit message from CVS: * ext/libmms/gstmms.h: No reason to use gpointers instead of typed pointes here as far as I can see. * ext/mythtv/gstmythtvsrc.c: * ext/neon/gstneonhttpsrc.c: * gst/switch/gstswitch.c: Don't use gtk-doc magic markers for things that aren't meant to be parsed by gtk-doc. Makes gtk-doc complain a bit less.
2007-05-13ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes ↵David Schleef1-1/+2
#413818. Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: Make redirection the default behavior. Fixes #413818.
2007-03-22ext/neon/gstneonhttpsrc.c: Alloc user agent string only once.Tim-Philipp Müller1-2/+0
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_init): Alloc user agent string only once.
2007-03-02ext/neon/gstneonhttpsrc.*: Simplify _set_uri() and _set_proxy() and remove ↵Lutz Mueller1-82/+60
the unused ishttp member (#388050). Original commit message from CVS: Patch by: Lutz Mueller <lutz topfrose de> * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_set_property), (gst_neonhttp_src_set_uri), (gst_neonhttp_src_set_proxy), (gst_neonhttp_src_send_request_and_redirect), (gst_neonhttp_src_uri_set_uri): * ext/neon/gstneonhttpsrc.h: Simplify _set_uri() and _set_proxy() and remove the unused ishttp member (#388050). * tests/check/elements/neonhttpsrc.c: (GST_START_TEST): Fix bogus URI to something that actually exists, otherwise we just bypass the test (and also to something that doesn't redirect, since neonhttpsrc doesn't seem to handle this very gracefully yet)
2006-12-22Added seek support.Edgard Lima1-438/+509
Original commit message from CVS: Added seek support.
2006-12-12ext/neon/gstneonhttpsrc.c: Fix minor mem leak in redirect code.Tim-Philipp Müller1-2/+4
Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create), (send_request_and_redirect): Fix minor mem leak in redirect code. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/neonhttpsrc.c: (handoff_cb), (GST_START_TEST), (neonhttpsrc_suite): * tests/check/gst-plugins-bad.supp: Add super-basic unit test for #384140.
2006-12-12ext/neon/gstneonhttpsrc.c: Set offset on buffers pushed out (id3demux gets ↵Tim-Philipp Müller1-1/+3
confused if the first buffer does not have... Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_create), (send_request_and_redirect): Set offset on buffers pushed out (id3demux gets confused if the first buffer does not have an offset of 0). Fixes #384140.
2006-12-12ext/neon/gstneonhttpsrc.c: Minor clean-ups; remove newlines at end of debug ↵Tim-Philipp Müller1-14/+16
statements. Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_create), (send_request_and_redirect), (gst_neonhttp_src_start), (oom_callback): Minor clean-ups; remove newlines at end of debug statements.
2006-09-21Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). ↵Edgard Lima1-146/+62
As dicussed on #gstreamer it should be don... Original commit message from CVS: Reverted previous commit (2006-09-19 - Allow internal codes from last.fm). As dicussed on #gstreamer it should be done in separete element.
2006-09-19Allow internal codes from last.fmEdgard Lima1-62/+145
Original commit message from CVS: Allow internal codes from last.fm
2006-08-04Allow HTTP redirect (HTTP status code 302).Edgard Lima1-24/+160
Original commit message from CVS: Allow HTTP redirect (HTTP status code 302).
2006-07-07ext/neon/gstneonhttpsrc.*: Remove unlock function. start/stop will do ↵Lutz Mueller1-203/+126
everything needed Original commit message from CVS: Patch by: Lutz Mueller <lutz at topfrose dot de> * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_init), (gst_neonhttp_src_finalize), (request_dispatch), (gst_neonhttp_src_create), (gst_neonhttp_src_start), (gst_neonhttp_src_get_size), (gst_neonhttp_src_stop), (set_proxy), (set_uri), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property), (gst_neonhttp_src_uri_set_uri), (size_header_handler): * ext/neon/gstneonhttpsrc.h: Remove unlock function. start/stop will do everything needed Removed code that was never called. Use gst_pad_alloc_buffer. Don't send EOS - parent class does that for us. Do not escape path. Fixes #346723. Additional code cleanups.
2006-06-23Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject ↵Tim-Philipp Müller1-1/+1
boilerplate macro. Original commit message from CVS: * ext/directfb/dfbvideosink.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/libmms/gstmms.c: * ext/neon/gstneonhttpsrc.c: * ext/theora/theoradec.c: * gst/freeze/gstfreeze.c: * gst/gdp/gstgdpdepay.c: * gst/gdp/gstgdppay.c: * sys/glsink/glimagesink.c: Use GST_DEBUG_CATEGORY_STATIC where possible (#342503) and fix one GObject boilerplate macro.
2006-06-19configure.ac: Fix check so that future libneon API changes won't break the ↵Tim-Philipp Müller1-3/+10
build. Original commit message from CVS: * configure.ac: Fix check so that future libneon API changes won't break the build. * ext/neon/gstneonhttpsrc.c: Fix build with libneon-0.26.x (#345182).
2006-04-29ext/neon/gstneonhttpsrc.*: added iradio-mode support as in gnomevfssrc to ↵Sébastien Moutte1-8/+218
enable connections with icydemux that will ... Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: * ext/neon/gstneonhttpsrc.h: added iradio-mode support as in gnomevfssrc to enable connections with icydemux that will send title tag messages on shoutcast/icecast streams. I've also added iradio properties iradio-name, iradio-genre, iradio-url. added user-agent property because some shoutcast streams don't return data if the GET requests don't have a User-Agent. * win32/common/libgstneon.dsp: use debug version of libneon in debug mode
2006-04-25Define GstElementDetails as const and also static (when defined as global)Stefan Kost1-1/+1
Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: * ext/amrwb/gstamrwbenc.c: * ext/amrwb/gstamrwbparse.c: * ext/arts/gst_arts.c: * ext/artsd/gstartsdsink.c: * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/audioresample/gstaudioresample.c: * ext/bz2/gstbz2dec.c: * ext/bz2/gstbz2enc.c: * ext/cdaudio/gstcdaudio.c: * ext/directfb/dfbvideosink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): * ext/faac/gstfaac.c: (gst_faac_base_init): * ext/faad/gstfaad.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/libfame/gstlibfame.c: * ext/libmms/gstmms.c: (gst_mms_base_init): * ext/musepack/gstmusepackdec.c: (gst_musepackdec_base_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): * ext/nas/nassink.c: (gst_nassink_base_init): * ext/neon/gstneonhttpsrc.c: * ext/sdl/sdlaudiosink.c: * ext/sdl/sdlvideosink.c: * ext/shout/gstshout.c: * ext/snapshot/gstsnapshot.c: * ext/sndfile/gstsf.c: * ext/swfdec/gstswfdec.c: * ext/tarkin/gsttarkindec.c: * ext/tarkin/gsttarkinenc.c: * ext/theora/theoradec.c: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): * gst/chart/gstchart.c: * gst/colorspace/gstcolorspace.c: * gst/deinterlace/gstdeinterlace.c: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): * gst/festival/gstfestival.c: * gst/filter/gstbpwsinc.c: * gst/filter/gstiir.c: * gst/filter/gstlpwsinc.c: * gst/freeze/gstfreeze.c: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): * gst/librfb/gstrfbsrc.c: * gst/mixmatrix/mixmatrix.c: * gst/mpeg1sys/gstmpeg1systemencode.c: * gst/mpeg1videoparse/gstmp1videoparse.c: * gst/mpeg2sub/gstmpeg2subt.c: * gst/mpegaudioparse/gstmpegaudioparse.c: * gst/multifilesink/gstmultifilesink.c: * gst/overlay/gstoverlay.c: * gst/passthrough/gstpassthrough.c: * gst/playondemand/gstplayondemand.c: * gst/qtdemux/qtdemux.c: * gst/rtjpeg/gstrtjpegdec.c: * gst/rtjpeg/gstrtjpegenc.c: * gst/smooth/gstsmooth.c: * gst/smoothwave/gstsmoothwave.c: * gst/spectrum/gstspectrum.c: * gst/speed/gstspeed.c: * gst/stereo/gststereo.c: * gst/switch/gstswitch.c: * gst/tta/gstttadec.c: (gst_tta_dec_base_init): * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): * gst/vbidec/gstvbidec.c: * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/virtualdub/gstxsharpen.c: * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): * gst/y4m/gsty4mencode.c: * sys/cdrom/gstcdplayer.c: * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: * sys/glsink/glimagesink.c: * sys/qcam/gstqcamsrc.c: * sys/v4l2/gstv4l2src.c: * sys/vcd/vcdsrc.c: (gst_vcdsrc_base_init): * sys/ximagesrc/ximagesrc.c: Define GstElementDetails as const and also static (when defined as global)
2006-04-09ext/neon/gstneonhttpsrc.c: remove atoll by using g_ascii_strtoull (atoll is ↵Sébastien Moutte1-2/+2
not supported on WIN32) Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start): remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32) * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: done some cleans in sources * win32/vs6: add project files for neon, qtdemux
2006-04-06Unify the long descriptions in the plugin details (#337263).j^1-2/+2
Original commit message from CVS: Patch by: j^ <j at bootlab dot org> * ext/amrwb/gstamrwbdec.c: * ext/amrwb/gstamrwbenc.c: * ext/amrwb/gstamrwbparse.c: * ext/arts/gst_arts.c: * ext/artsd/gstartsdsink.c: * ext/audiofile/gstafparse.c: * ext/audiofile/gstafsink.c: * ext/audiofile/gstafsrc.c: * ext/cdaudio/gstcdaudio.c: * ext/directfb/dfbvideosink.c: * ext/divx/gstdivxdec.c: * ext/divx/gstdivxenc.c: * ext/dts/gstdtsdec.c: (gst_dtsdec_base_init): * ext/faac/gstfaac.c: (gst_faac_base_init): * ext/faad/gstfaad.c: * ext/gsm/gstgsmdec.c: * ext/gsm/gstgsmenc.c: * ext/hermes/gsthermescolorspace.c: * ext/ivorbis/vorbisfile.c: * ext/lcs/gstcolorspace.c: * ext/libfame/gstlibfame.c: * ext/libmms/gstmms.c: (gst_mms_base_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_base_init): * ext/nas/nassink.c: (gst_nassink_base_init): * ext/neon/gstneonhttpsrc.c: * ext/polyp/polypsink.c: (gst_polypsink_base_init): * ext/sdl/sdlaudiosink.c: * ext/sdl/sdlvideosink.c: * ext/shout/gstshout.c: * ext/snapshot/gstsnapshot.c: * ext/sndfile/gstsf.c: * ext/tarkin/gsttarkindec.c: * ext/tarkin/gsttarkinenc.c: * ext/theora/theoradec.c: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_base_init): * ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_base_init): * ext/xvid/gstxviddec.c: * ext/xvid/gstxvidenc.c: * gst/cdxaparse/gstcdxaparse.c: (gst_cdxa_parse_base_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_base_init): * gst/chart/gstchart.c: * gst/equalizer/gstiirequalizer.c: (gst_iir_equalizer_base_init): * gst/festival/gstfestival.c: * gst/filter/gstiir.c: * gst/filter/gstlpwsinc.c: * gst/freeze/gstfreeze.c: * gst/games/gstpuzzle.c: (gst_puzzle_base_init): * gst/mixmatrix/mixmatrix.c: * gst/mpeg1sys/gstmpeg1systemencode.c: * gst/mpeg1videoparse/gstmp1videoparse.c: * gst/mpeg2sub/gstmpeg2subt.c: * gst/mpegaudioparse/gstmpegaudioparse.c: * gst/multifilesink/gstmultifilesink.c: * gst/overlay/gstoverlay.c: * gst/passthrough/gstpassthrough.c: * gst/playondemand/gstplayondemand.c: * gst/qtdemux/qtdemux.c: * gst/rtjpeg/gstrtjpegdec.c: * gst/rtjpeg/gstrtjpegenc.c: * gst/smooth/gstsmooth.c: * gst/tta/gstttadec.c: (gst_tta_dec_base_init): * gst/tta/gstttaparse.c: (gst_tta_parse_base_init): * gst/videocrop/gstvideocrop.c: * gst/videodrop/gstvideodrop.c: * gst/virtualdub/gstxsharpen.c: * gst/xingheader/gstxingmux.c: (gst_xing_mux_base_init): * gst/y4m/gsty4mencode.c: Unify the long descriptions in the plugin details (#337263).
2006-04-06ext/neon/gstneonhttpsrc.c: Add back "uri" property and mark it as ↵Tim-Philipp Müller1-1/+10
deprecated; undoes Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_class_init), (gst_neonhttp_src_set_property), (gst_neonhttp_src_get_property): Add back "uri" property and mark it as deprecated; undoes API/ABI breakage from 2006-02-24.
2006-02-24Changed property name from "uri" to "location".Edgard Lima1-8/+8
Original commit message from CVS: Changed property name from "uri" to "location".
2006-02-06Now it uses libneon 0.25.5 that supports shoutcast.Edgard Lima1-5/+9
Original commit message from CVS: Now it uses libneon 0.25.5 that supports shoutcast.
2006-01-25Just chain up finalize calls (calling parent_class->finalize).Edgard Lima1-0/+3
Original commit message from CVS: Just chain up finalize calls (calling parent_class->finalize).
2006-01-20Fixed state transictions PLAYING->NULL->PLAYING.Edgard Lima1-2/+0
Original commit message from CVS: Fixed state transictions PLAYING->NULL->PLAYING.
2006-01-16Removed gst_base_src_set_live from mms and neon, and now calling ↵Edgard Lima1-2/+0
parent_class->dispose in dispose on sdlaudio. Original commit message from CVS: Removed gst_base_src_set_live from mms and neon, and now calling parent_class->dispose in dispose on sdlaudio.
2006-01-04Some improvements in cancellation and debug messages.Edgard Lima1-93/+137
Original commit message from CVS: Some improvements in cancellation and debug messages.
2006-01-04Removed not need thread and changed to push out blocksize bytes.Edgard Lima1-131/+71
Original commit message from CVS: Removed not need thread and changed to push out blocksize bytes.
2005-12-28Created new element neonhttpsrc.Edgard Lima1-0/+720
Original commit message from CVS: Created new element neonhttpsrc.