Changeset 4101032f15bb226d75753f45ed836428aec1725f
- Timestamp:
- 06/28/03 23:16:57
(5 years ago)
- Author:
- Laurent Aimar <fenrir@videolan.org>
- git-committer:
- Laurent Aimar <fenrir@videolan.org> 1056835017 +0000
- git-parent:
[5793781308febaa53ca656cb7a080ec35abe61b5]
- git-author:
- Laurent Aimar <fenrir@videolan.org> 1056835017 +0000
- Message:
- ffmpeg : do no try to automatically set ffmpeg-truncated (it's broken
with .mp4 files)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r80c0020 |
r4101032 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999-2001 VideoLAN |
|---|
| 5 | | * $Id: video.c,v 1.32 2003/06/19 21:09:27 gbazin Exp $ |
|---|
| | 5 | * $Id: video.c,v 1.33 2003/06/28 21:16:57 fenrir Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Laurent Aimar <fenrir@via.ecp.fr> |
|---|
| … | … | |
| 127 | 127 | /* Spawn a video output if there is none. First we look for our children, |
|---|
| 128 | 128 | * then we look for any other vout that might be available. */ |
|---|
| 129 | | p_vout = vout_Request( p_vdec->p_fifo, NULL, |
|---|
| | 129 | p_vout = vout_Request( p_vdec->p_fifo, p_vdec->p_vout, |
|---|
| 130 | 130 | i_width, i_height, i_chroma, i_aspect ); |
|---|
| 131 | 131 | #ifdef LIBAVCODEC_PP |
|---|
| … | … | |
| 240 | 240 | #if LIBAVCODEC_BUILD >= 4662 |
|---|
| 241 | 241 | i_truncated = config_GetInt( p_vdec->p_fifo, "ffmpeg-truncated" ); |
|---|
| 242 | | if( i_truncated == 1 || ( i_truncated == -1 && |
|---|
| 243 | | ( p_vdec->p_context->width == 0 || p_vdec->p_context->height == 0 ) ) ) |
|---|
| | 242 | if( i_truncated == 1 ) |
|---|
| | 243 | #if 0 |
|---|
| | 244 | || |
|---|
| | 245 | ( i_truncated == -1 && ( p_vdec->p_context->width == 0 || p_vdec->p_context->height == 0 ) ) ) |
|---|
| | 246 | #endif |
|---|
| 244 | 247 | { |
|---|
| 245 | 248 | p_vdec->p_context->flags |= CODEC_FLAG_TRUNCATED; |
|---|
| … | … | |
| 365 | 368 | } |
|---|
| 366 | 369 | } |
|---|
| | 370 | p_vdec->p_vout = NULL; |
|---|
| 367 | 371 | |
|---|
| 368 | 372 | return( VLC_SUCCESS ); |
|---|