## Add/removing elements
-The basic functionality of a bin is to add and remove GstElements
+The basic functionality of a bin is to add and remove `GstElement`
to/from it. `gst_bin_add()` and `gst_bin_remove()` perform these
operations respectively.
## EOS
-The sink elements will post an EOS message on the bus when they reach
-EOS. The EOS message is only posted to the bus when the sink element is
-in PLAYING.
+The sink elements will post an `EOS` message on the bus when they reach
+`EOS`. This message is only posted to the bus when the sink element is
+in `PLAYING`.
-The bin collects all EOS messages and forwards it to the application as
-soon as all the sinks have posted an EOS.
+The bin collects all `EOS` messages and forwards it to the application as
+soon as all the sinks have posted an `EOS`.
-The list of queued EOS messages is cleared when the bin goes to PAUSED
-again. This means that all elements should repost the EOS message when
-going to PLAYING again.
+The list of queued `EOS` messages is cleared when the bin goes to `PAUSED`
+again. This means that all elements should repost the `EOS` message when
+going to `PLAYING` again.
## SEGMENT_START/DONE
`SEGMENT_STOP` message to the application when an equal number of
`SEGMENT_STOP` messages were received.
-The cached `SEGMENT_START`/`STOP` messages are cleared when going to READY.
+The cached `SEGMENT_START`/`STOP` messages are cleared when going to `READY`.
## DURATION
message is typically posted by elements that calculate the duration of
the stream based on some average bitrate, which might change while
playing the stream. The `DURATION_CHANGED` message is posted to the
-application, which can then fetch the updated DURATION.
+application, which can then fetch the updated `DURATION`.
## Subclassing