<table cellpadding=3 cellspacing=0 border=0 width=100% bgcolor=white><tr valign=top><td width=100%><font size=2 color=black>hi ,<br>yeah i have a custom video sink where i call the display frame api of hardware decoder in show_frame function <br> <br>i have initilaised the basesink's render , preroll method to show_frame function <br> <br>i am also having a get_times function in the videosink<br> <br>for audio i am using osssink.<br> <br> <br>ok if the videosink is incorrect then why the manual pipeline works fine with av sync(if i link the elements by code)<br><BR>one more thing ......... since the video decoder already puts decoded data in hardware frame buffer , so i am just passing fake buffer ( 16 byte fake data) with timestamp and duration (from qtdemux) to downstream element from video decoder . <br> <br>can u help me in resolving this issue <BR><BR><BR><BR><BR>--- On Tue 08/21, Andy Wingo < wingo@pobox.com > wrote:<BR><br><BLOCKQUOTE
style="PADDING-LEFT: 7px; MARGIN-LEFT: 7px; BORDER-LEFT: orange 2px solid"><B>From: </B>Andy Wingo [mailto: wingo@pobox.com]<BR><B>To: </B>digitaldsp@excite.com<BR><B>Cc: </B>gstreamer-devel@lists.sourceforge.net<BR><B>Date: </B>Tue, 21 Aug 2007 22:55:01 +0200<BR><B>Subject: </B>Re: [gst-devel] problem in using playbin<BR><BR>Hello,<BR><BR>"pritesh" <DIGITALDSP@EXCITE.COM>writes:<BR><BR>> but av sync is missing in paused state itself some video frames are displayed <BR><BR>In the paused state, no audio is played, so sync is not a problem<BR><BR>> and when i set state to playing the audio lags video <BR><BR>This can only be the case if either (1) your timestamps are incorrect,<BR>or (2) you have custom sinks that are not respecting the clocks.<BR><BR>> but when i create the pipeline using decodebin only then av sync is<BR>> proper is this a preroll problem or videosink problem<BR><BR>Seems to indicate problems in your sinks.<BR><BR>Regards,<BR><BR>Andy.<BR>--
<BR>http://wingolog.org/<BR></BLOCKQUOTE></font></td></tr></table><p><hr><font size=2 face=geneva><b>Join Excite! - <a href=http://www.excite.com target=_blank>http://www.excite.com</a></b><br>The most personalized portal on the Web!</font>