[gst-devel] sync problems

Joshua N Pritikin vishnu at pobox.com
Sun Jul 14 06:28:03 CEST 2002


On Sun, Jul 14, 2002 at 06:15:54PM +0530, Joshua N Pritikin wrote:
> ..  i am doing the seek in the same way as
> gst-player-0.4.0 and it works fine.

Oops, i spoke too soon.

If there are two seeks very close together then the player gets stuck
in nanosleep.  Here's the stack:

(gdb) where
#0  0x40596f01 in nanosleep () from /lib/libc.so.6
#1  0x4007db1a in __pthread_timedsuspend_new () from /lib/libpthread.so.0
#2  0x4007a1ab in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
#3  0x4007a33c in pthread_cond_timedwait () from /lib/libpthread.so.0
#4  0x400707ab in _init () from /usr/lib/libgthread-2.0.so.0
#5  0x40037d15 in gst_clock_wait_id (clock=0x81733a0, id=0x81809d8, jitter=0x0)
    at gstclock.c:540
#6  0x40037935 in gst_clock_wait (clock=0x81733a0, time=586453333333, jitter=0x0)
    at gstclock.c:416
#7  0x4088e7de in gst_basic_scheduler_clock_wait (sched=0x80eccc8, element=0x80eb028,
    clock=0x81733a0, time=586453333333, jitter=0x0) at gstbasicscheduler.c:1285
#8  0x4004ef1c in gst_scheduler_clock_wait (sched=0x80eccc8, element=0x80eb028,
    clock=0x81733a0, time=586453333333, jitter=0x0) at gstscheduler.c:587
#9  0x4003a1cf in gst_element_clock_wait (element=0x80eb028, clock=0x81733a0,
    time=586453333333, jitter=0x0) at gstelement.c:739
#10 0x408cad5f in gst_mpeg_parse_loop (element=0x80eb028) at gstmpegparse.c:417

Also, i am still seeing major a/v sync problems.  At least please tell me if
you can reproduce it on your machine:

  ftp://ftp.berlios.de/pub/redael/aleader-0.8.3.tar.bz2

Do a ./configure and make.  cd into the ./film directory.  The player
is called 'aleader-filmview'.

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org




More information about the gstreamer-devel mailing list