summaryrefslogtreecommitdiffstats
path: root/gst/law/mulaw-decode.h
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2007-11-02 17:23:43 +0000
committerEdward Hervey <bilboed@bilboed.com>2007-11-02 17:23:43 +0000
commit7eeeca8c27c2fc21bc332c201c630b0ac5dfdd65 (patch)
tree2e6fcc98a1c40562127c9b47e58677b337d26063 /gst/law/mulaw-decode.h
parentceb068d0e9d5fab22131f70be2cc3ab395c337f5 (diff)
gst/law/mulaw-decode.*: Calculate outgoing buffer duration if incoming buffer didn't have a valid duration.
Original commit message from CVS: * gst/law/mulaw-decode.c: (mulawdec_sink_setcaps), (gst_mulawdec_chain): * gst/law/mulaw-decode.h: Calculate outgoing buffer duration if incoming buffer didn't have a valid duration.
Diffstat (limited to 'gst/law/mulaw-decode.h')
-rw-r--r--gst/law/mulaw-decode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/law/mulaw-decode.h b/gst/law/mulaw-decode.h
index ee1a14d4..df441892 100644
--- a/gst/law/mulaw-decode.h
+++ b/gst/law/mulaw-decode.h
@@ -43,6 +43,9 @@ struct _GstMuLawDec {
GstPad *sinkpad,*srcpad;
GstCaps *srccaps;
+
+ gint rate;
+ gint channels;
};
struct _GstMuLawDecClass {