mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-26 14:27:14 +00:00
Fix issue with playback of H.261 video.
(closes issue #19379) Reported by: neutrino88 Patches: videoprompt.patch uploaded by neutrino88 (license 297) (changes by russell) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@321335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -278,6 +278,7 @@ extern struct ast_frame ast_null_frame;
|
||||
#define AST_FORMAT_PNG (1ULL << 17)
|
||||
/*! H.261 Video */
|
||||
#define AST_FORMAT_H261 (1ULL << 18)
|
||||
#define AST_FORMAT_FIRST_VIDEO_BIT AST_FORMAT_H261
|
||||
/*! H.263 Video */
|
||||
#define AST_FORMAT_H263 (1ULL << 19)
|
||||
/*! H.263+ Video */
|
||||
|
||||
@@ -672,7 +672,7 @@ struct ast_filestream *ast_openvstream(struct ast_channel *chan, const char *fil
|
||||
if (buf == NULL)
|
||||
return NULL;
|
||||
|
||||
for (format = AST_FORMAT_AUDIO_MASK + 1; format <= AST_FORMAT_VIDEO_MASK; format = format << 1) {
|
||||
for (format = AST_FORMAT_FIRST_VIDEO_BIT; format <= AST_FORMAT_VIDEO_MASK; format = format << 1) {
|
||||
int fd;
|
||||
const char *fmt;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user