mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-04 23:52:55 +08:00
fix formatting in decodebin example
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
// Before the pipeline hasn't been prerolled, the decodebin can't possibly know what
|
// Before the pipeline hasn't been prerolled, the decodebin can't possibly know what
|
||||||
// format it gets as its input. So at first, the pipeline looks like this:
|
// format it gets as its input. So at first, the pipeline looks like this:
|
||||||
//
|
//
|
||||||
// {filesrc} - {decodebin}
|
// {filesrc} - {decodebin}
|
||||||
//
|
//
|
||||||
// As soon as the decodebin has detected the stream format, it will try to decode every
|
// As soon as the decodebin has detected the stream format, it will try to decode every
|
||||||
// contained stream to its raw format.
|
// contained stream to its raw format.
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
// So for a file that contains one audio and one video stream,
|
// So for a file that contains one audio and one video stream,
|
||||||
// the pipeline looks like the following:
|
// the pipeline looks like the following:
|
||||||
//
|
//
|
||||||
// /-[audio]-{audioconvert}-{audioresample}-{autoaudiosink}
|
// /-[audio]-{audioconvert}-{audioresample}-{autoaudiosink}
|
||||||
// {filesrc}-{decodebin}-|
|
// {filesrc}-{decodebin}-|
|
||||||
// \-[video]-{viceoconvert}-{videoscale}-{autovideosink}
|
// \-[video]-{viceoconvert}-{videoscale}-{autovideosink}
|
||||||
//
|
//
|
||||||
// Both auto-sinks at the end automatically select the best available (actual) sink. Since the
|
// Both auto-sinks at the end automatically select the best available (actual) sink. Since the
|
||||||
// selection of available actual sinks is platform specific
|
// selection of available actual sinks is platform specific
|
||||||
|
Reference in New Issue
Block a user