manual: Improve states documentation
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sat, 27 Nov 2010 14:02:48 +0000 (11:02 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Sat, 27 Nov 2010 14:03:37 +0000 (11:03 -0300)
Be more explicit about being on NULL before unrefs

docs/manual/basics-elements.xml

index 33085ce..201cb25 100644 (file)
@@ -489,7 +489,9 @@ main (int   argc,
       <listitem>
         <para>
           <classname>GST_STATE_NULL</classname>: this is the default state.
-          This state will deallocate all resources held by the element.
+          No resources are allocated in this state, so, transitioning to it
+          will free all resources. The element must be in this state when
+          its refcount reaches 0 and it is freed.
         </para>
       </listitem>
       <listitem>