summaryrefslogtreecommitdiff
path: root/src/dxr3/dxr3_decoder.c
diff options
context:
space:
mode:
authorHarm van der Heijden <hrm@users.sourceforge.net>2001-12-24 16:31:57 +0000
committerHarm van der Heijden <hrm@users.sourceforge.net>2001-12-24 16:31:57 +0000
commit6254378bae8f4423f6dc46b66920240a7e424dc3 (patch)
tree5f957a2945c25ad6619f2d5c65d47efdbec2bf45 /src/dxr3/dxr3_decoder.c
parentf625a663097e74292a95ddaae868b0fdddcf0bdc (diff)
downloadxine-lib-6254378bae8f4423f6dc46b66920240a7e424dc3.tar.gz
xine-lib-6254378bae8f4423f6dc46b66920240a7e424dc3.tar.bz2
fixes for still image detection. rough hack, needs improvement.
the flushing by video_out.c causes the dxr3 to drop the still image. consider dxr3 still menu support to be broken for now. CVS patchset: 1301 CVS date: 2001/12/24 16:31:57
Diffstat (limited to 'src/dxr3/dxr3_decoder.c')
-rw-r--r--src/dxr3/dxr3_decoder.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dxr3/dxr3_decoder.c b/src/dxr3/dxr3_decoder.c
index 943dacfb9..727669a65 100644
--- a/src/dxr3/dxr3_decoder.c
+++ b/src/dxr3/dxr3_decoder.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: dxr3_decoder.c,v 1.51 2001/12/23 18:13:35 hrm Exp $
+ * $Id: dxr3_decoder.c,v 1.52 2001/12/24 16:31:57 hrm Exp $
*
* dxr3 video and spu decoder plugin. Accepts the video and spu data
* from XINE and sends it directly to the corresponding dxr3 devices.
@@ -459,6 +459,7 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
vpts = 0;
+#if 0
/* if we're just coming from a BUF_VIDEO_FILL situation,
* do a flush for good riddance. (doesn't help much though) */
if (this->in_buffer_fill && buf->type != BUF_VIDEO_FILL)
@@ -486,6 +487,7 @@ static void dxr3_decode_data (video_decoder_t *this_gen, buf_element_t *buf)
this->last_pts += duration; /* predict vpts */
return;
}
+#endif
/* count the number of frame codes in this block of data
* this code borrowed from libmpeg2.