]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7586 #resolve handle VLC rename of the aac codec to the generic name of mpga
authorWilliam King <william.king@quentustech.com>
Tue, 9 Jun 2015 04:27:56 +0000 (21:27 -0700)
committerWilliam King <william.king@quentustech.com>
Tue, 9 Jun 2015 04:27:56 +0000 (21:27 -0700)
src/mod/formats/mod_vlc/mod_vlc.c

index 44e36ab295c30481f01a04db9f2d4bec46fb6be3..6f10ac84001a1329d2238d11a833c132bf5d6cae 100644 (file)
@@ -774,7 +774,7 @@ static switch_status_t vlc_file_open(switch_file_handle_t *handle, const char *p
        if (switch_test_flag(handle, SWITCH_FILE_FLAG_VIDEO) && switch_test_flag(handle, SWITCH_FILE_FLAG_WRITE)) {
                if ((ext = strrchr(path, '.')) && !strcasecmp(ext, ".mp4")) {
                        realpath = path;
-                       path = switch_core_sprintf(context->pool, "#transcode{vcodec=h264,acodec=aac}:std{access=file,mux=mp4,dst=%s}", path);
+                       path = switch_core_sprintf(context->pool, "#transcode{vcodec=h264,acodec=mpga}:std{access=file,mux=mp4,dst=%s}", path);
                } else if (handle->stream_name && (!strcasecmp(handle->stream_name, "rtmp") || !strcasecmp(handle->stream_name, "youtube"))) {
 
                        handle->mm.samplerate = 44100;