diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-07-11 14:06:08 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-07-11 14:06:08 +0000 |
commit | 9a392ef442ef284f63c36ef3690445e5938a046a (patch) | |
tree | f648a0b8f712c94cfd1dd8a3c4cd373477b560f5 /ext/resindvd/rsnparsetter.h | |
parent | f79bf9a0fba0c37de0734fd618bbfc499889facf (diff) | |
download | gst-plugins-bad-9a392ef442ef284f63c36ef3690445e5938a046a.tar.gz gst-plugins-bad-9a392ef442ef284f63c36ef3690445e5938a046a.tar.bz2 gst-plugins-bad-9a392ef442ef284f63c36ef3690445e5938a046a.zip |
docs/plugins/.cvsignore: Ignore *-undeclared.txt
Original commit message from CVS:
* docs/plugins/.cvsignore:
Ignore *-undeclared.txt
* ext/resindvd/rsnaudiomunge.c:
Turn g_print's into debug statements.
* ext/resindvd/resin-play:
* ext/resindvd/Makefile.am:
* ext/resindvd/resindvdbin.c:
* ext/resindvd/resindvdbin.h:
* ext/resindvd/rsnparsetter.c:
* ext/resindvd/rsnparsetter.h:
* ext/resindvd/rsnwrappedbuffer.c:
* ext/resindvd/rsnwrappedbuffer.h:
Add a bloated implementation of a really simple idea: Replace the
pixel-aspect-ratio in the output video with a prescribed one when
necessary. There must be an easier way.
Split the dvdspu out of the resindvdbin and put out the subpicture
stream on the subpicture pad.
* ext/resindvd/gstmpegdemux.c:
Send video-aspect events down the pipe from the demuxer.
* ext/resindvd/resindvdsrc.c:
* ext/resindvd/resindvdsrc.h:
Handle timed-stills somewhat using g_cond_timed_wait, with a FIXME
to make it use clock-waiting later.
* ext/resindvd/rsnbasesrc.c:
Don't overwrite the last_stop in the basesrc segment after a seamless
seek.
Diffstat (limited to 'ext/resindvd/rsnparsetter.h')
-rw-r--r-- | ext/resindvd/rsnparsetter.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/ext/resindvd/rsnparsetter.h b/ext/resindvd/rsnparsetter.h new file mode 100644 index 00000000..5e89bb1c --- /dev/null +++ b/ext/resindvd/rsnparsetter.h @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2008 Jan Schmidt <thaytan@noraisin.net> + */ + +#ifndef __RSN_PARSETTER_H__ +#define __RSN_PARSETTER_H__ + +#include <gst/gst.h> + +#include "rsnwrappedbuffer.h" + +G_BEGIN_DECLS + +#define RSN_TYPE_RSNPARSETTER \ + (rsn_parsetter_get_type()) +#define RSN_PARSETTER(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST((obj),RSN_TYPE_RSNPARSETTER,RsnParSetter)) +#define RSN_PARSETTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_CAST((klass),RSN_TYPE_RSNPARSETTER,RsnParSetterClass)) +#define RSN_IS_PARSETTER(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE((obj),RSN_TYPE_RSNPARSETTER)) +#define RSN_IS_PARSETTER_CLASS(klass) \ + (G_TYPE_CHECK_CLASS_TYPE((klass),RSN_TYPE_RSNPARSETTER)) + +typedef struct _RsnParSetter RsnParSetter; +typedef struct _RsnParSetterClass RsnParSetterClass; + +struct _RsnParSetter +{ + GstElement element; + + GstPad *sinkpad, *srcpad; + + gboolean override_outcaps; + GstCaps *outcaps; + + gboolean is_widescreen; + + GMutex *caps_lock; + GstCaps *in_caps_last; + gboolean in_caps_was_ok; + GstCaps *in_caps_converted; +}; + +struct _RsnParSetterClass +{ + GstElementClass parent_class; +}; + +GType rsn_parsetter_get_type (void); + +G_END_DECLS + +#endif /* __RSN_PARSETTER_H__ */ |