Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 84019
Collapse All | Expand All

(-)gst-plugins-0.8.7.orig/ext/raw1394/gstdv1394src.c (-3 / +4 lines)
Lines 771-780 Link Here
771
{
771
{
772
  gchar *protocol, *location;
772
  gchar *protocol, *location;
773
  gboolean ret;
773
  gboolean ret;
774
774
  GstDV1394Src *gst_dv1394src;
775
  
775
  ret = TRUE;
776
  ret = TRUE;
776
777
  
777
  GstDV1394Src *gst_dv1394src = GST_DV1394SRC (handler);
778
  gst_dv1394src = GST_DV1394SRC (handler);
778
779
779
  protocol = gst_uri_get_protocol (uri);
780
  protocol = gst_uri_get_protocol (uri);
780
  if (strcmp (protocol, "dv") != 0) {
781
  if (strcmp (protocol, "dv") != 0) {
(-)gst-plugins-0.8.7.orig/gst/tta/gstttaparse.c (-4 / +7 lines)
Lines 162-173 Link Here
162
    case GST_EVENT_SEEK:
162
    case GST_EVENT_SEEK:
163
    {
163
    {
164
      if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) {
164
      if (GST_EVENT_SEEK_FORMAT (event) == GST_FORMAT_TIME) {
165
        GST_DEBUG_OBJECT (ttaparse, "got seek event");
166
        GstEvent *seek_event;
165
        GstEvent *seek_event;
167
        guint64 time = GST_EVENT_SEEK_OFFSET (event);
168
        guint64 seek_frame = time / (FRAME_TIME * 1000000000);
169
        guint64 seekpos = ttaparse->index[seek_frame].pos;
170
166
167
	guint64 time;
168
	guint64 seek_frame;
169
	guint64 seekpos;
170
	time = GST_EVENT_SEEK_OFFSET (event);
171
	seek_frame = time / (FRAME_TIME * 1000000000);
172
	seekpos = ttaparse->index[seek_frame].pos;
173
	
171
        GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos);
174
        GST_DEBUG_OBJECT (ttaparse, "seeking to %u", (guint) seekpos);
172
        seek_event =
175
        seek_event =
173
            gst_event_new_seek (GST_FORMAT_BYTES | GST_SEEK_METHOD_SET |
176
            gst_event_new_seek (GST_FORMAT_BYTES | GST_SEEK_METHOD_SET |

Return to bug 84019