summaryrefslogtreecommitdiffstats
path: root/ext/annodex
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-04-28 18:57:09 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-04-28 18:57:09 +0000
commit2caa461591a1dc3ce9064afe586e3aaaf5f9fed8 (patch)
treec1548b6173e1a07f29a7a4ea6d076d04befb304d /ext/annodex
parent977f5cf0532d37ac9cf99dc3519d0b5cc45af53c (diff)
Move ximagesrc plug-in to good after review. Fixes #336756.
Original commit message from CVS: * configure.ac: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-good-plugins-docs.sgml: * docs/plugins/gst-plugins-good-plugins-sections.txt: * ext/annodex/gstcmmlenc.c: (gst_cmml_enc_class_init), (gst_cmml_enc_push_clip): * sys/Makefile.am: * sys/ximage/Makefile.am: * sys/ximage/gstximagesrc.c: Move ximagesrc plug-in to good after review. Fixes #336756.
Diffstat (limited to 'ext/annodex')
-rw-r--r--ext/annodex/gstcmmlenc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/annodex/gstcmmlenc.c b/ext/annodex/gstcmmlenc.c
index 5c7d7580..fabe6ec2 100644
--- a/ext/annodex/gstcmmlenc.c
+++ b/ext/annodex/gstcmmlenc.c
@@ -146,7 +146,7 @@ gst_cmml_enc_class_init (GstCmmlEncClass * enc_class)
g_param_spec_uchar ("granule-shift",
"Granuleshift",
"The number of lower bits to use for partitioning a granule position",
- 0, G_MAXUINT8, 32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+ 0, 64, 32, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
GST_ELEMENT_CLASS (klass)->change_state = gst_cmml_enc_change_state;
}
@@ -554,6 +554,7 @@ gst_cmml_enc_push_clip (GstCmmlEnc * enc, GstCmmlTagClip * clip,
goto granule_overflow;
}
+ GST_BUFFER_OFFSET (buffer) = clip->start_time;
GST_BUFFER_OFFSET_END (buffer) = granulepos;
GST_BUFFER_TIMESTAMP (buffer) = clip->start_time;