The 50% of the class that chose dogs and video games amounts to 30*0.5 = <<50*.01*30=15>>15 students who prefer dogs over cats.
Similarly, the 10% that chose dogs and movies amount to 30*0.1 = <<30*0.1=3>>3 students who prefer dogs over cats.
Because these are the only two ways that a student could indicate their preference for dogs, and because these groups do not overlap, a total of 15 + 3 = <<15+3=18>>18 students favor dogs over cats in this teacher's class.
#### 18