forked from forks/ffprobe-wasm
Add avlib versions and remove streams tab in Vue.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
<Overview :info="info" />
|
||||
</div>
|
||||
</b-tab>
|
||||
<b-tab title="Streams" class="mt-2" disabled></b-tab>
|
||||
<b-tab title="Frames" class="mt-2" lazy>
|
||||
<Frames />
|
||||
</b-tab>
|
||||
@@ -55,9 +54,6 @@ export default {
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
avformat_version() {
|
||||
return window.Module.c_avformat_version();
|
||||
},
|
||||
info() {
|
||||
return this.data && window.Module.get_file_info();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<h4>Version</h4>
|
||||
<b-table stacked :items="versions"></b-table>
|
||||
|
||||
<h4>Metadata</h4>
|
||||
<b-table stacked :items="items"></b-table>
|
||||
|
||||
@@ -32,6 +35,13 @@ export default {
|
||||
nb_streams: this.info.nb_streams,
|
||||
flags: this.info.flags,
|
||||
},
|
||||
],
|
||||
versions: [
|
||||
{
|
||||
libavutil: window.Module.avutil_version(),
|
||||
libavcodec: window.Module.avcodec_version(),
|
||||
libavformat: window.Module.avformat_version(),
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user