view gxf.h @ 1853:c704f9d730bf libavformat

Close connection on EOF this makes downloading some asx files from MS streaming servers work again (they would hang on eos). The http request header property connection:close is needed for _some_ 1.1 HTTP servers to close the connection at the end of file. patch by Ronald S. Bultje % rbultje A ronald P bitfreak P net% Original thread: Date: Mar 3, 2007 10:48 PM Subject: [Ffmpeg-devel] [PATCH] close connection on end-of-file
author gpoirier
date Sun, 04 Mar 2007 11:59:29 +0000
parents 0899bfe4105c
children 47f5906c30cc
line wrap: on
line source

/*
 * GXF demuxer
 * copyright (c) 2006 Reimar Doeffinger
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef FFMPEG_GXF_H
#define FFMPEG_GXF_H

/* gxf.c */
typedef enum {
    PKT_MAP = 0xbc,
    PKT_MEDIA = 0xbf,
    PKT_EOS = 0xfb,
    PKT_FLT = 0xfc,
    PKT_UMF = 0xfd
} pkt_type_t;

#endif /* FFMPEG_GXF_H */