summaryrefslogtreecommitdiffstats
path: root/ext/dv/gstdvdec.c
Commit message (Collapse)AuthorAgeFilesLines
* All plugins updated for element state changes.Andy Wingo2005-09-021-13/+12
| | | | | | | Original commit message from CVS: 2005-09-02 Andy Wingo <wingo@pobox.com> * All plugins updated for element state changes.
* Updates for two-arg init from GST_BOILERPLATE.Andy Wingo2005-08-281-1/+1
| | | | | | | | | | | | | | | | | Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class.
* ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in ↵Andy Wingo2005-08-161-1156/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | the source code -- was only in the commi... Original commit message from CVS: 2005-08-16 Andy Wingo <wingo@pobox.com> * ext/raw1394/gstdv1394src.c (gst_dv1394src_iso_receive): Note license info in the source code -- was only in the commit log before. * ext/dv/gstdvdec.h: * ext/dv/gstdvdec.c: Only decodes systemstream=FALSE dv video -- old pipelines using dvdec should probably have a dvdemux first. * ext/dv/gstdvdemux.h: * ext/dv/gstdvdemux.c: Split out from dvdec, chunks the incoming systemstream=TRUE data into frames, sets caps data, and spits out PCM audio in addition to systemstream=FALSE video frames. Operates in chain mode only for now; should make a getrange version as well. * ext/dv/gstdv.c: New file, registers the libgstdv plugin. * ext/dv/Makefile.am: Library name changed to libgstdv. Split dvdec into dvdemux and dvdec.
* Various event updates and cleanups.Wim Taymans2005-07-271-42/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/amrnb/amrnbparse.c: (gst_amrnbparse_event), (gst_amrnbparse_loop): * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_decode_frame): * ext/mad/gstid3tag.c: (gst_id3_tag_src_event), (gst_id3_tag_sink_event), (gst_id3_tag_chain): * ext/mad/gstmad.c: (gst_mad_src_query), (index_seek), (normal_seek), (gst_mad_sink_event), (gst_mad_chain): * ext/mpeg2dec/gstmpeg2dec.c: * ext/shout2/gstshout2.c: (gst_shout2send_event): * ext/sidplay/gstsiddec.cc: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event), (gst_avi_demux_send_event), (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry): * gst/goom/gstgoom.c: (gst_goom_event): * gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event), (gst_rmdemux_chain), (gst_rmdemux_send_event), (gst_rmdemux_add_stream): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_srcpad_event): Various event updates and cleanups.
* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper framerate on the ↵Andy Wingo2005-07-191-2/+4
| | | | | | | | | | outbound buffer. Original commit message from CVS: 2005-07-19 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c (gst_dvdec_decode_video): Set the proper framerate on the outbound buffer.
* ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber alloc_buffer's ↵Andy Wingo2005-07-191-11/+19
| | | | | | | | | | | | return value. Original commit message from CVS: 2005-07-19 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c (gst_dvdec_decode_video): Don't clobber alloc_buffer's return value. (gst_dvdec_decode_frame): Handle unlinked pads with grace and agility.
* ext/dv/gstdvdec.*: Implemented seeking in dvdec.Wim Taymans2005-07-191-149/+368
| | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert), (gst_dvdec_sink_convert), (gst_dvdec_get_src_query_types), (gst_dvdec_src_query), (gst_dvdec_get_sink_query_types), (gst_dvdec_sink_query), (gst_dvdec_send_event), (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_decode_audio), (gst_dvdec_decode_video), (gst_dvdec_decode_frame), (gst_dvdec_flush), (gst_dvdec_chain): * ext/dv/gstdvdec.h: Implemented seeking in dvdec.
* Ported DVdec to 0.9.Wim Taymans2005-07-071-294/+316
| | | | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: * ext/dv/Makefile.am: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_get_src_query_types), (gst_dvdec_src_query), (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_video_getcaps), (gst_dvdec_video_setcaps), (gst_dvdec_decode_audio), (gst_dvdec_decode_video), (gst_dvdec_decode_frame), (gst_dvdec_chain), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property), (plugin_init): * ext/dv/gstdvdec.h: * ext/esd/esdsink.c: (gst_esdsink_class_init): Ported DVdec to 0.9. Parent of esdsink is GstAudioSink.
* Way, way, way too many files: Remove crack comment from the 2000 era.Andy Wingo2005-07-051-2/+0
| | | | | | | | Original commit message from CVS: 2005-07-05 Andy Wingo <wingo@pobox.com> * Way, way, way too many files: Remove crack comment from the 2000 era.
* ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect ↵Andy Wingo2005-01-281-8/+45
| | | | | | | | | | | a different dubious internet source. Add ... Original commit message from CVS: 2005-01-28 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdec.c: Change the pixel aspect ratio of dvdec output to reflect a different dubious internet source. Add a reference and some commentary.
* I'm a bad boy. using /1001. to force C to do float division and not integer ↵Stéphane Loeuillet2005-01-141-1/+1
| | | | | | | | | | | | 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.
* replace framerate aproximations by their real value (24000/1001, 30000/1001, ↵Stéphane Loeuillet2005-01-141-1/+1
| | | | | | | | | | | | | 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
* ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed)Stéphane Loeuillet2005-01-081-3/+3
| | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: really fix bpp24/32 dvdec caps (classic rgba indeed) * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): don't send text tags if they are empty (bis repetita)
* ext/dv/gstdvdec.c: remove unneeded comment from dvdec (related to DV 4CC ↵Stéphane Loeuillet2005-01-081-11/+0
| | | | | | | | | | | | | | | | | | | | | | | codes in AVI files) moved them in gstreamer/... Original commit message from CVS: * ext/dv/gstdvdec.c: remove unneeded comment from dvdec (related to DV 4CC codes in AVI files) moved them in gstreamer/docs/random/mimetypes * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): don't send text tags if they are empty fix mem leak on error path * gst/ffmpegcolorspace/avcodec.h: * gst/ffmpegcolorspace/gstffmpegcodecmap.c: (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt), (gst_ffmpegcsp_avpicture_fill): * gst/ffmpegcolorspace/imgconvert.c: (img_get_alpha_info): * gst/ffmpegcolorspace/imgconvert_template.h: adds BGR32 and BGRA32 to ffmpegcolorspace (still bad colors, fixing it on next commit) helps with dvdec outputing BGR32
* ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',')Stéphane Loeuillet2005-01-071-2/+13
| | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: Fix audio caps i just broke (missing ',') * gst/matroska/matroska-mux.c: (gst_matroska_mux_get_type), (gst_matroska_mux_reset): Fix typo + add FIXME about old "x-gst-metadata" crap
* ext/dv/demo-play.c: xvideosink -> xvimagesinkStéphane Loeuillet2005-01-071-3/+3
| | | | | | | | | | | | | Original commit message from CVS: * ext/dv/demo-play.c: (main): xvideosink -> xvimagesink * ext/dv/gstdvdec.c: change rgb 32/32 caps to 24/32 (no alpha) change nb of channels to be a list (2 or 4, not 2) change sample rate to be a list (32, 44.1, 48 kHz) not a range * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_ext_content_desc): Add 'date/year' to extracted metadata list
* ext/dv/gstdvdec.c: Set EOS on the element when processing an EOS event.Jan Schmidt2004-10-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event): Set EOS on the element when processing an EOS event. * ext/speex/gstspeexdec.h: * ext/speex/gstspeexenc.h: Only keep a const ptr to the mode * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data), (gst_riff_create_audio_template_caps): Allow WMAV3, with up to 6 channels. * gst/asfdemux/gstasfmux.c: (gst_asfmux_request_new_pad): Don't call gst_pad_set_event_function on a sink pad. * gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_get_subpicture_stream), (gst_dvd_demux_set_cur_audio), (gst_dvd_demux_set_cur_subpicture): Copy the explicit caps that were set across to the cur_* pads, instead of trying to use a possibly non-existent negotiated caps. Reset the type of subpicture pads to UNKNOWN after calling init_stream, so that the caps get set.
* ext/dv/gstdvdec.c: Allow a little margin when negotiating the framerate.Wim Taymans2004-10-261-2/+4
| | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop): Allow a little margin when negotiating the framerate.
* ext/dv/gstdvdec.*: Make sure we renegotiate aspect ratio when the camera ↵Wim Taymans2004-10-181-3/+9
| | | | | | | | | | switches. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop): * ext/dv/gstdvdec.h: Make sure we renegotiate aspect ratio when the camera switches.
* ext/: Fix mimetype on smoke encoder.Wim Taymans2004-10-181-5/+51
| | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push): * ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init), (gst_smokeenc_resync), (gst_smokeenc_chain): Fix mimetype on smoke encoder. Add aspect ratio to dvdec. Not sure if these values are correct though....
* ext/dv/gstdvdec.*: Implement drop_factor property to lower the framerate ↵Wim Taymans2004-06-271-21/+45
| | | | | | | | | | | | | with a factor. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_class_init), (gst_dvdec_init), (gst_dvdec_video_getcaps), (gst_dvdec_video_link), (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property): * ext/dv/gstdvdec.h: Implement drop_factor property to lower the framerate with a factor.
* ext/dv/gstdvdec.*: Fix timestamp, duration and offset of the buffers.Wim Taymans2004-06-271-7/+21
| | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Fix timestamp, duration and offset of the buffers.
* Stupid mans! Don't unref things more than you ref them!Jan Schmidt2004-06-071-2/+2
| | | | | Original commit message from CVS: Stupid mans! Don't unref things more than you ref them!
* AUTHORS: Add me to the authors fileJan Schmidt2004-06-071-25/+53
| | | | | | | | | | | | | | Original commit message from CVS: * AUTHORS: Add me to the authors file * configure.ac: Increase the libdv requirement to >= version 0.100 * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_src_convert), (gst_dvdec_src_query), (gst_dvdec_handle_sink_event), (gst_dvdec_push), (gst_dvdec_loop), (gst_dvdec_change_state): * ext/dv/gstdvdec.h: Add support for the new_media flag when sending DISCONT events Make the querying work when video pad is not linked
* second batch : remove ',' at end of enums as they could confuse older gcc, ↵Stéphane Loeuillet2004-05-211-3/+3
| | | | | | | | | foreign compilers (forte) and gtk-doc (in ... Original commit message from CVS: second batch : remove ',' at end of enums as they could confuse older gcc, foreign compilers (forte) and gtk-doc (in gst-plugins/ext/ this time)
* ext/dv/gstdvdec.c: Fix format conversion and position querying.Jan Schmidt2004-05-211-11/+32
| | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_get_formats), (gst_dvdec_src_convert), (gst_dvdec_sink_convert): Fix format conversion and position querying. * gst/debug/progressreport.c: (gst_progressreport_report): Don't output a bogus total value that we didn't query. * sys/xvimage/xvimagesink.c: (gst_xvimagesink_get_xv_support): Always set XV_AUTOPAINT_COLORKEY to true. Fixes xvimagesink showing only a blank window after xine has been used.
* ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the ↵Johan Dahlin2004-05-191-1/+2
| | | | | | | | array. Fixes gst-inspect segfault on ppc. Original commit message from CVS: * ext/dv/gstdvdec.c (gst_dvdec_quality_get_type): Add proper ending of the array. Fixes gst-inspect segfault on ppc.
* Report which format was used for GST_FORMAT_DEFAULT in dvdecJan Schmidt2004-05-131-1/+2
| | | | | | Original commit message from CVS: Report which format was used for GST_FORMAT_DEFAULT in dvdec Add progressreport element for testing.
* ext/audiofile/gstafsrc.c: Remove old debug outputJan Schmidt2004-05-121-26/+39
| | | | | | | | | | | | | | | | Original commit message from CVS: * ext/audiofile/gstafsrc.c: (gst_afsrc_get): Remove old debug output * ext/dv/gstdvdec.c: (gst_dvdec_quality_get_type), (gst_dvdec_class_init), (gst_dvdec_loop), (gst_dvdec_change_state), (gst_dvdec_set_property), (gst_dvdec_get_property): Change the quality setting to an enum, so it works from gst-launch Don't renegotiate a non-linked pad. Allows audio only decoding. * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_getcaps), (gst_deinterlace_link), (gst_deinterlace_init): * gst/videodrop/gstvideodrop.c: (gst_videodrop_getcaps), (gst_videodrop_link): Some caps negotiation fixes
* Return the result of the parent state change callJan Schmidt2004-05-101-3/+1
| | | | | Original commit message from CVS: Return the result of the parent state change call
* ext/dv/gstdvdec.c: Fix caps nego and pad templates. RGB mode caps should ↵Jan Schmidt2004-05-071-8/+9
| | | | | | | | | | | | | | | | | | | | work now. Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_video_link): Fix caps nego and pad templates. RGB mode caps should work now. * ext/dvdnav/gst-dvd: Move mpeg2dec inside the thread because otherwise the queue rejects cap changes mid-stream * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_get_type), (gst_mpeg2dec_flush_decoder): For mpeg2dec > 0.4.0, call the flush function instead of manually extracting all in-flight frames. * ext/raw1394/gstdv1394src.c: (gst_dv1394src_factory), (gst_dv1394src_init), (gst_dv1394src_iso_receive): Change mime type video/dv go video/x-dv to match the rest of gst-plugins
* a52dec: Use a debug category, Output timestamps correctlyJan Schmidt2004-04-011-2/+16
| | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: a52dec: Use a debug category, Output timestamps correctly Emit tag info, Handle events, tell liba52dec about cpu capabilities so it can use MMX etc. dvdec: Fix a crasher accessing invalid memory dvdnavsrc:Some support for byte-format seeking. Small fixes for still frames and menu button overlays mpeg2dec: Use a debug category. Adjust the report level of several items to LOG. Call mpeg2_custom_fbuf to mark our buffers as 'custom buffers' so it doesn't lose the GstBuffer pointer navseek: Add the navseek debug element for seeking back and forth in a video stream using arrow keys. mpeg2subt:Pretty much a complete rewrite. Now a loopbased element. May still require work to properly synchronise subtitle buffers. mpegdemux: dvddemux: Don't attempt to create subbuffers of size 0 Reduce a couple of error outputs to warnings. y4mencode:Output the y4m frame header correctly
* don't mix tabs and spacesThomas Vander Stichele2004-03-151-154/+157
| | | | | Original commit message from CVS: don't mix tabs and spaces
* indenting testsThomas Vander Stichele2004-03-141-368/+351
| | | | | Original commit message from CVS: indenting tests
* Second attempt at committing a working dvdec element.Jan Schmidt2004-02-071-106/+156
| | | | | Original commit message from CVS: Second attempt at committing a working dvdec element.
* ext/dv/gstdvdec.c: Revert last change, because it Just Doesn't Compile.David Schleef2004-02-051-111/+80
| | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_init), (gst_dvdec_loop): Revert last change, because it Just Doesn't Compile.
* Rework caps negotiation in the element so that it works again.Jan Schmidt2004-02-051-80/+111
| | | | | Original commit message from CVS: Rework caps negotiation in the element so that it works again.
* 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
* convert (float) to (double) in caps stringDavid Schleef2004-01-291-3/+3
| | | | | Original commit message from CVS: convert (float) to (double) in caps string
* use new error signal and classificationThomas Vander Stichele2004-01-181-1/+1
| | | | | Original commit message from CVS: use new error signal and classification
* ext/dv/gstdvdec.c: Fix caps negotiation.Jan Schmidt2004-01-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit message from CVS: * ext/dv/gstdvdec.c: (gst_dvdec_loop): Fix caps negotiation. * ext/dvdnav/dvdnavsrc.c: (dvdnavsrc_class_init), (dvdnavsrc_update_buttoninfo), (dvdnavsrc_get), (dvdnavsrc_get_event_mask), (dvdnav_handle_navigation_event), (dvdnavsrc_event): * ext/mpeg2dec/gstmpeg2dec.c: * gst-libs/gst/navigation/navigation.c: (gst_navigation_send_key_event), (gst_navigation_send_mouse_event): * gst-libs/gst/navigation/navigation.h: * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_handle_src_event): * sys/ximage/ximagesink.c: (gst_ximagesink_handle_xevents): * sys/xvimage/xvimagesink.c: (gst_xvimagesink_handle_xevents): Super-simple first version of mouse and keyboard events. Clicking on a DVD menu now works, although it may not take you where you expected. * gst/sine/gstsinesrc.c: (gst_sinesrc_src_fixate): * gst/videotestsrc/gstvideotestsrc.c: (gst_videotestsrc_src_fixate): These fixate functions were broken - they never actually fixated :)
* Merge CAPS branchDavid Schleef2003-12-221-141/+123
| | | | | Original commit message from CVS: Merge CAPS branch
* remove copyright field from pluginsAndy Wingo2003-12-041-1/+0
| | | | | Original commit message from CVS: remove copyright field from plugins
* + checking in plugin category changesLeif Johnson2003-11-161-1/+1
| | | | | Original commit message from CVS: + checking in plugin category changes
* Use the GST_ELEMENT_DETAILS for initialising GstElementDetailsJan Schmidt2003-11-021-3/+3
| | | | | Original commit message from CVS: Use the GST_ELEMENT_DETAILS for initialising GstElementDetails
* Updated for new plugin loading codeJan Schmidt2003-11-021-29/+31
| | | | | Original commit message from CVS: Updated for new plugin loading code
* Move a few typefind functions to gst/typefind, remove all old typefinding ↵David Schleef2003-10-291-41/+0
| | | | | | | | code from bitrotten plugins Original commit message from CVS: Move a few typefind functions to gst/typefind, remove all old typefinding code from bitrotten plugins
* merge TYPEFIND branch. Major changes:Benjamin Otte2003-10-281-0/+3
| | | | | | | | | | | | Original commit message from CVS: merge TYPEFIND branch. Major changes: - totally reworked type(find) system - all typefind functions are in gst/typefind now - more typefind functions then before - some plugins might fail to compile now because I don't have them installed and they a) require bytestream or b) haven't had their typefind fixed. Please fix those plugins and put the typefind functions into gst/typefind if they don't have dependencies
* Trivial fixes for GstBuffer->GstData migrationDavid Schleef2003-10-091-2/+2
| | | | | Original commit message from CVS: Trivial fixes for GstBuffer->GstData migration