]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9715 don't need this part
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 9 Nov 2016 18:24:06 +0000 (12:24 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 9 Nov 2016 18:24:06 +0000 (12:24 -0600)
src/mod/applications/mod_av/avformat.c

index a00acaaa6c252663379e1a4ed9e1b401cc007c83..2cb68af5452103313bf1224c14fa4b5e5d027e74 100644 (file)
@@ -1847,10 +1847,6 @@ static switch_status_t av_file_open(switch_file_handle_t *handle, const char *pa
        handle->speed = 0;
        handle->pos = 0;
 
-       if (!context->has_video) {
-               switch_clear_flag(handle, SWITCH_FILE_FLAG_VIDEO);
-       }
-
        switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Opening File [%s] %dhz %s\n",
                file, handle->samplerate, switch_test_flag(handle, SWITCH_FILE_FLAG_VIDEO) ? " with VIDEO" : "");