summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-12-24sys/glsink/: Clean up code. Fix a few leaks.David Schleef4-31/+11
Original commit message from CVS: * sys/glsink/gstglbuffer.c: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: Clean up code. Fix a few leaks.
2007-12-24sys/glsink/: Rename glvideo.[ch] to gstgldisplay.[ch].David Schleef7-8/+19
Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstglbuffer.c: * sys/glsink/gstglbuffer.h: * sys/glsink/gstgldisplay.c: * sys/glsink/gstgldisplay.h: Rename glvideo.[ch] to gstgldisplay.[ch].
2007-12-24sys/glsink/: Rewrite a bunch of code to use textures as the intermediate ↵David Schleef10-137/+277
instead of renderbuffers. upload, download,... Original commit message from CVS: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstglbuffer.c: * sys/glsink/gstglbuffer.h: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: * sys/glsink/gstglupload.c: Rewrite a bunch of code to use textures as the intermediate instead of renderbuffers. upload, download, filtering all work.
2007-12-23gst/videoparse/: Remove videoparse element, because it was moved to ↵David Schleef4-947/+7
gst/rawparse/ Original commit message from CVS: * gst/videoparse/Makefile.am: * gst/videoparse/README: * gst/videoparse/gstvideoparse.c: Remove videoparse element, because it was moved to gst/rawparse/
2007-12-23gst/rawparse/gstrawparse.c: Always seek on frame boundaries, will produce ↵Sebastian Dröge2-0/+11
nothing useful otherwise. Original commit message from CVS: * gst/rawparse/gstrawparse.c: (gst_raw_parse_src_event): Always seek on frame boundaries, will produce nothing useful otherwise.
2007-12-23Add new plugin rawparse that contains a base class for raw data parsers and ↵Sebastian Dröge11-2/+1665
the two elements audioparse and videopars... Original commit message from CVS: * configure.ac: * gst/rawparse/Makefile.am: * gst/rawparse/README: * gst/rawparse/gstaudioparse.c: (gst_audio_parse_format_get_type), (gst_audio_parse_endianness_get_type), (gst_audio_parse_base_init), (gst_audio_parse_class_init), (gst_audio_parse_init), (gst_audio_parse_set_property), (gst_audio_parse_get_property), (gst_audio_parse_update_frame_size), (gst_audio_parse_get_caps): * gst/rawparse/gstaudioparse.h: * gst/rawparse/gstrawparse.c: (gst_raw_parse_base_init), (gst_raw_parse_class_init), (gst_raw_parse_init), (gst_raw_parse_dispose), (gst_raw_parse_class_set_src_pad_template), (gst_raw_parse_class_set_multiple_frames_per_buffer), (gst_raw_parse_reset), (gst_raw_parse_chain), (gst_raw_parse_convert), (gst_raw_parse_sink_event), (gst_raw_parse_src_event), (gst_raw_parse_src_query_type), (gst_raw_parse_src_query), (gst_raw_parse_set_framesize), (gst_raw_parse_set_fps), (gst_raw_parse_get_fps), (gst_raw_parse_is_negotiated): * gst/rawparse/gstrawparse.h: * gst/rawparse/gstvideoparse.c: (gst_video_parse_format_get_type), (gst_video_parse_endianness_get_type), (gst_video_parse_base_init), (gst_video_parse_class_init), (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property), (gst_video_parse_format_to_fourcc), (gst_video_parse_update_frame_size), (gst_video_parse_get_caps): * gst/rawparse/gstvideoparse.h: * gst/rawparse/plugin.c: (plugin_init): Add new plugin rawparse that contains a base class for raw data parsers and the two elements audioparse and videoparse that can be used to parse raw audio and video. These are inspired by the old videoparse element which the new rawparse plugin deprecates.
2007-12-22sys/glsink/: A careful read of the documentation reveals that I can't use ↵David Schleef8-20/+219
renderbuffers as textures. Duh. Checkpoin... Original commit message from CVS: * sys/glsink/glextensions.c: * sys/glsink/glextensions.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstglbuffer.c: * sys/glsink/gstgldownload.c: * sys/glsink/gstglupload.c: A careful read of the documentation reveals that I can't use renderbuffers as textures. Duh. Checkpoint because I'm about to rewrite a bunch of code.
2007-12-21Some IPTC tags mapped.Edgard Lima9-52/+227
Original commit message from CVS: Some IPTC tags mapped.
2007-12-21Removed gstmetadatacommon.Edgard Lima9-852/+758
Original commit message from CVS: Removed gstmetadatacommon.
2007-12-21sys/glsink/: Switch to using framebuffer_objects instead of GLXPixmaps, ↵David Schleef14-188/+1413
because that's what my driver supports. Remo... Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glextensions.c: * sys/glsink/glextensions.h: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstglbuffer.c: * sys/glsink/gstglbuffer.h: * sys/glsink/gstgldownload.c: * sys/glsink/gstglfilter.c: * sys/glsink/gstglupload.c: * sys/glsink/gstopengl.c: Switch to using framebuffer_objects instead of GLXPixmaps, because that's what my driver supports. Remove GLDrawable, since GstGLDisplay now has a default drawable and context.
2007-12-20gst/: Ignore more.Tim-Philipp Müller3-0/+9
Original commit message from CVS: * gst/equalizer/.cvsignore: * gst/switch/.cvsignore: Ignore more.
2007-12-19New base class for metadata elements.Edgard Lima15-1944/+1574
Original commit message from CVS: New base class for metadata elements.
2007-12-18gst/switch/: gst/switch/gstswitch.c (enum, gst_selector_pad_class_init) ↵Andy Wingo5-54/+133
(gst_selector_pad_get_property) (gst_selector... Original commit message from CVS: 2007-12-18 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch-marshal.list: * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (enum, gst_selector_pad_class_init) (gst_selector_pad_get_property) (gst_selector_pad_get_running_time) (gst_stream_selector_class_init, gst_segment_get_timestamp) (gst_segment_set_stop, gst_segment_set_start) (gst_stream_selector_set_active_pad, gst_stream_selector_block) (gst_stream_selector_push_pending_stop) (gst_stream_selector_switch): Change so that the signals and properties deal in running time, not buffer time. Document the signals more. Change uint64 in API to int64, to reflect what's in GstSegment.
2007-12-18Makefile.am: Include common/win32.mak for CRLF check of win32 project files ↵Tim-Philipp Müller3-6/+17
(see #393626). Original commit message from CVS: * Makefile.am: Include common/win32.mak for CRLF check of win32 project files (see #393626). * configure.ac: Bump requirements to -base CVS for libgstvideo additions in glimagesink. Disable glimagesink until the missing files get checked in.
2007-12-18sys/glsink/: Use new GstVideoFormat checked into -base. Add new glupload ↵David Schleef11-665/+235
element to upload raw video into a GLXPixbu... Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstopengl.c: * sys/glsink/gstglupload.c: Use new GstVideoFormat checked into -base. Add new glupload element to upload raw video into a GLXPixbuf. Untested. Will likely crash your motorcycle if you try it. * sys/glsink/gstvideo-common.c: * sys/glsink/gstvideo-common.h: Remove.
2007-12-17gst/multifile/gstmultifilesrc.*: When subsequent files are read, if the file ↵David Schleef4-1/+17
doesn't exist, send an EOS instead of ca... Original commit message from CVS: * gst/multifile/gstmultifilesrc.c: * gst/multifile/gstmultifilesrc.h: When subsequent files are read, if the file doesn't exist, send an EOS instead of causing an error.
2007-12-17gst/switch/gstswitch.c (gst_selector_pad_chain): Return OK when a buffer is ↵Andy Wingo2-1/+6
ignored, not NOT_LINKED. No sense in maki... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_selector_pad_chain): Return OK when a buffer is ignored, not NOT_LINKED. No sense in making a source element error out; at least fdsrc considers NOT_LINKED to be a fatal error. Patch 11/12. There is no patch 12/12. Foo.
2007-12-17gst/switch/: gst/switch/gstswitch.c (gst_stream_selector_class_init) ↵Andy Wingo4-5/+32
(gst_stream_selector_block): Make the block() si... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch-marshal.list: * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_block): Make the block() signal return the last stop time of the active pad. Patch 10/12.
2007-12-17gst/switch/gstswitch.c (gst_selector_pad_get_property) ↵Andy Wingo2-24/+53
(gst_selector_pad_class_init, gst_stream_selector_class_init) Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_selector_pad_get_property) (gst_selector_pad_class_init, gst_stream_selector_class_init) (gst_stream_selector_get_property): Expose 'last-stop-time' as a pad property, not an element property. (gst_selector_pad_chain): Mark the last_stop time as timestamp + duration, not timestamp. Patch 9/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_change_state)Andy Wingo2-47/+31
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_change_state) (gst_stream_selector_block, gst_stream_selector_switch): Use the cond mechanism instead of blocked pads. Patch 8/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelector): gst/switch/gstswitch.c ↵Andy Wingo3-1/+39
(gst_stream_selector_wait) (gst_selector_p... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelector): * gst/switch/gstswitch.c (gst_stream_selector_wait) (gst_selector_pad_chain, gst_stream_selector_init) (gst_stream_selector_dispose): Add infrastructure for new blocking mechanism that does not use gst_pad_set_blocked, which does not work on sink pads. Patch 7/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_class_init)Andy Wingo2-1/+22
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_get_property): Add last-stop-time readable property. Patch 6/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelector): Add some state variables.Andy Wingo3-29/+103
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelector): Add some state variables. * gst/switch/gstswitch.c (gst_stream_selector_push_pending_stop) (gst_selector_pad_chain): Push any pending stop event. (gst_stream_selector_set_active_pad) (gst_stream_selector_set_property): Factor out setting the active pad to a function. Close the segment of the previous active pad if told to do so via a stop_time != GST_CLOCK_TIME_NONE. (gst_stream_selector_switch): Implement switch vmethod. Patch 5/12.
2007-12-17gst/switch/gstswitch.c (gst_stream_selector_block): Implement the block() ↵Andy Wingo2-1/+53
signal. This implementation will be replace... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.c (gst_stream_selector_block): Implement the block() signal. This implementation will be replaced in future patches, however. Patch 4/12.
2007-12-17gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes.Andy Wingo3-3/+30
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): Fix vmethod prototypes. * gst/switch/gstswitch.c (gst_stream_selector_class_init) (gst_stream_selector_block, gst_stream_selector_switch): Add empty vmethod definitions. Patch 3/12.
2007-12-17gst/switch/gstswitch.*: Add `block' and `switch' signals.Andy Wingo5-1/+65
Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h (struct _GstStreamSelectorClass): * gst/switch/gstswitch.c (gst_stream_selector_class_init): Add `block' and `switch' signals. * gst/switch/Makefile.am: * gst/switch/gstswitch-marshal.list: Add foo to generate a marshaller for the `switch' signal. Patch 2/12.
2007-12-17gst/switch/gstswitch.*: Replace with files from gststreamselector.[ch], ↵Andy Wingo3-720/+534
registered as the "switch" plugin, with "GstS... Original commit message from CVS: 2007-12-17 Andy Wingo <wingo@pobox.com> * gst/switch/gstswitch.h: * gst/switch/gstswitch.c: Replace with files from gststreamselector.[ch], registered as the "switch" plugin, with "GstSwitch" types. Patch 1/12.
2007-12-17add libsoup plugin to specChristian Schaller1-0/+1
Original commit message from CVS: add libsoup plugin to spec
2007-12-17Added "parse-only" property to metadatademux.Edgard Lima11-57/+255
Original commit message from CVS: Added "parse-only" property to metadatademux.
2007-12-16sys/glsink/: Rename GLVideo* to GstGL*.David Schleef5-105/+112
Original commit message from CVS: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: Rename GLVideo* to GstGL*.
2007-12-16sys/glsink/: Add vblank synchronization. Isn't really working on my driver. :(David Schleef5-5/+219
Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glextensions.c: * sys/glsink/glextensions.h: * sys/glsink/glvideo.c: Add vblank synchronization. Isn't really working on my driver. :(
2007-12-15sys/glsink/: Add support for xRGB, xBGR, and AYUV. Re-add support for ↵David Schleef7-36/+297
power-of-2 textures. Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glimagesink.c: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstvideo-common.c: * sys/glsink/gstvideo-common.h: Add support for xRGB, xBGR, and AYUV. Re-add support for power-of-2 textures.
2007-12-15gst/videoparse/gstvideoparse.c: Free the adapter on dispose and correctly ↵Sebastian Dröge3-1/+16
reset on newsegment events. Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_dispose), (gst_video_parse_sink_event): Free the adapter on dispose and correctly reset on newsegment events.
2007-12-15gst/videoparse/gstvideoparse.c: Improve duration query by first asking ↵Sebastian Dröge2-26/+81
upstream and if it can't handle the query try ... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_sink_event), (gst_video_parse_src_event), (gst_video_parse_src_query): Improve duration query by first asking upstream and if it can't handle the query try to get the duration in bytes from upstream and convert. For seeks, try if upstream handles this already first and do our conversion to byte format only if it doesn't and if we get a newsegment event in time format keep it and only do our conversions if the event has another format.
2007-12-15gst/videoparse/gstvideoparse.c: Add support for video/x-raw-rgb and ↵Sebastian Dröge2-13/+194
video/x-raw-gray. Also send downstream elements d... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_format_get_type), (gst_video_parse_endianness_get_type), (gst_video_parse_class_init), (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property), (gst_video_parse_format_to_fourcc), (gst_video_parse_update_block_size), (gst_video_parse_chain), (gst_video_parse_sink_event): Add support for video/x-raw-rgb and video/x-raw-gray. Also send downstream elements downstream, not upstream.
2007-12-15sys/glsink/gstvideo-common.*: Pull together some common raw video functions ↵David Schleef9-108/+799
into one location. Original commit message from CVS: * sys/glsink/gstvideo-common.c: * sys/glsink/gstvideo-common.h: Pull together some common raw video functions into one location. This should eventually move to -base. * sys/glsink/Makefile.am: * sys/glsink/glimagesink.c: * sys/glsink/glimagesink.h: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: * sys/glsink/gstopengl.c: Use the new video-common.h stuff. Readd support for RGB video.
2007-12-14Added new module for common functions. Using GST_TYPE_FRACTION for Exif ↵Edgard Lima13-1620/+1313
(S)Rational types. Original commit message from CVS: Added new module for common functions. Using GST_TYPE_FRACTION for Exif (S)Rational types.
2007-12-14gst/mpegtsparse/mpegtspacketizer.*: Hash streams by pid again. Add a linked ↵Zaheer Abbas Merali3-48/+118
list inside each stream with a list of su... Original commit message from CVS: * gst/mpegtsparse/mpegtspacketizer.c: * gst/mpegtsparse/mpegtspacketizer.h: Hash streams by pid again. Add a linked list inside each stream with a list of sub_tables. Fix multiple sections as it was borked with my last commit.
2007-12-14update spec file and add two missing files for distingChristian Schaller4-2/+19
Original commit message from CVS: update spec file and add two missing files for disting
2007-12-13Code documentation.Edgard Lima19-197/+326
Original commit message from CVS: Code documentation.
2007-12-13Added a test application. Added some EXIF tags. Fixed a muxer bug.Edgard Lima11-105/+1419
Original commit message from CVS: Added a test application. Added some EXIF tags. Fixed a muxer bug.
2007-12-13gst/videoparse/gstvideoparse.c: Implement a query type function for the src ↵Sebastian Dröge2-1/+76
pad, implement seeking and use ANY caps f... Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_init), (gst_video_parse_src_event), (gst_video_parse_src_query_type): Implement a query type function for the src pad, implement seeking and use ANY caps for the sink pad as the element doesn't care what caps the input has and everything is handled via properties.
2007-12-13gst/videoparse/gstvideoparse.c: Handle -1 values for the CONVERT query too.Sebastian Dröge2-3/+21
Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_convert), (gst_video_parse_sink_event): Handle -1 values for the CONVERT query too.
2007-12-13gst/videoparse/gstvideoparse.c: Add YV12 to the pad templates as it is ↵Sebastian Dröge3-3/+11
supported too and allow Original commit message from CVS: * gst/videoparse/gstvideoparse.c: (gst_video_parse_sink_event): Add YV12 to the pad templates as it is supported too and allow -1 as stop position for NEWSEGMENT events.
2007-12-13gst/videoparse/Makefile.am: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS to fix ↵Sebastian Dröge3-4/+14
the build. Original commit message from CVS: * gst/videoparse/Makefile.am: Add $(GST_PLUGINS_BASE_CFLAGS) to CFLAGS to fix the build. * gst/videoparse/gstvideoparse.c: (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property): Use g_value_[sg]et_enum() for enum properties, g_value_[sg]et_int() gives a g_critical().
2007-12-13gst/videoparse/: Add a bunch of features: handle format specification, ↵David Schleef4-114/+379
handle queries and conversion. Works much lik... Original commit message from CVS: * gst/videoparse/README: * gst/videoparse/gstvideoparse.c: Add a bunch of features: handle format specification, handle queries and conversion. Works much like a normal parser now.
2007-12-12gst/rtpmanager/: Clean up the dynamic pads when going to READY.Wim Taymans3-30/+51
Original commit message from CVS: * gst/rtpmanager/gstrtpptdemux.c: (gst_rtp_pt_demux_finalize), (gst_rtp_pt_demux_setup), (gst_rtp_pt_demux_release), (gst_rtp_pt_demux_change_state): * gst/rtpmanager/gstrtpssrcdemux.c: (gst_rtp_ssrc_demux_reset), (gst_rtp_ssrc_demux_dispose), (gst_rtp_ssrc_demux_src_query), (gst_rtp_ssrc_demux_change_state): Clean up the dynamic pads when going to READY.
2007-12-12gst/rtpmanager/: Fix some leaks.Wim Taymans4-0/+27
Original commit message from CVS: * gst/rtpmanager/gstrtpbin.c: (gst_rtp_bin_finalize), (gst_rtp_bin_set_sdes_string), (gst_rtp_bin_get_sdes_string), (gst_rtp_bin_handle_message): * gst/rtpmanager/rtpsession.c: (rtp_session_finalize), (rtp_session_send_bye): * gst/rtpmanager/rtpsource.c: (rtp_source_finalize): Fix some leaks.
2007-12-12ext/dts/gstdtsdec.*: Add support for "audio/x-private1-dts" as used by ↵Sebastian Dröge3-5/+108
flupsparse. Most changes adapted from a52dec. Original commit message from CVS: * ext/dts/gstdtsdec.c: (gst_dtsdec_init), (gst_dtsdec_sink_setcaps), (gst_dtsdec_chain_raw), (gst_dtsdec_chain): * ext/dts/gstdtsdec.h: Add support for "audio/x-private1-dts" as used by flupsparse. Most changes adapted from a52dec.
2007-12-12sys/glsink/: Split out gl-related code into a separate file with a sensible ↵David Schleef5-393/+513
API. Major cleanup. Still crashes occas... Original commit message from CVS: * sys/glsink/Makefile.am: * sys/glsink/glimagesink.c: * sys/glsink/glvideo.c: * sys/glsink/glvideo.h: Split out gl-related code into a separate file with a sensible API. Major cleanup. Still crashes occasionally due to different threads touching bits at the same time.